Yoyo Loading State Builder

Text REST API MCP

Build Yoyo PHP "yoyo:spinning" loading-state attributes and a ready-to-paste HTML snippet. Choose show/hide, add class, remove class, set attribute, or a combination, with optional delay and target actions.

This page documents the HTTP endpoint POST /api/tools/yoyo-loading-state-builder/execute. See the MCP reference →

Call it over REST

POST https://api.findutils.com/api/tools/yoyo-loading-state-builder/execute · no API keys · 60 requests/min per IP

Execute — verified arguments

curl -X POST https://api.findutils.com/api/tools/yoyo-loading-state-builder/execute \
  -H "Content-Type: application/json" \
  -d '{
    "behavior": "add-class",
    "class_name": "opacity-50",
    "use_delay": true,
    "delay_ms": 200
  }'

Parameter schema for this endpoint

curl https://api.findutils.com/api/tools/yoyo-loading-state-builder

Interactive docs · OpenAPI 3.1 spec · All REST tools

Input schema

Argument Type Required Description
behavior string (show-hide | add-class | remove-class | set-attr | combination) no Loading behavior. Default: "show-hide". Default: "show-hide".
class_name string no CSS class for "add-class" or "remove-class" (e.g. "opacity-50").
attribute string no Attribute for "set-attr" (e.g. "disabled").
use_delay boolean no Add yoyo:spinning.delay. Default: false. Default: false.
delay_ms integer no Delay in milliseconds when use_delay is true. Default: 300. Default: 300.
target_actions string no Comma-separated action names for yoyo:spin-on (e.g. "save,submit").
add_class_name string no For "combination": class to add.
remove_class_name string no For "combination": class to remove.
add_attribute string no For "combination": attribute to set.

Example arguments (verified)

{
  "behavior": "add-class",
  "class_name": "opacity-50",
  "use_delay": true,
  "delay_ms": 200
}

Also an MCP tool

Claude, Cursor, and any MCP client can call this tool as findutils:yoyo_loading_state_builder after one connect command.

Connect once

claude mcp add findutils --transport http https://mcp.findutils.com/
Open the MCP reference for Yoyo Loading State Builder →

More Text tools