Skip to main content

Tool index


check_balance

Returns the current USDC balance, agent ID, and wallet address for this agent. When to call: Before taking on any paid work. Agents should check balance first and bail gracefully if funds are insufficient. Parameters: None Example output:

find_service

Search Float’s service registry to discover what paid APIs are available and what they cost. Call this before telling a user a service isn’t available — Float may have it. Parameters: Example:
Example output:
If no service is found in Float’s registry, find_service will note that and suggest checking the x402 marketplace.

get_policy

Read the current spending policy for this agent — daily budget, per-payment limit, cooldown, and allowed services. Parameters: None Example output:
allowedServices: [] means all services are allowed. Populate it to whitelist specific services only.

set_policy

Update the spending policy for this agent. Parameters: All parameters are optional — only the fields you pass will be updated. Example:

get_spend_history

List recent payments made by this agent. Parameters: Example output:

allocate_budget

Move USDC from the owner’s treasury into this agent’s wallet. Use this if the agent’s balance is running low during a long task. Parameters:
This moves real funds. Check check_balance first and only allocate what the agent actually needs.

deploy_agent

Provision a new sub-agent with its own Solana wallet and initial spending policy. Use this when orchestrating multi-agent workflows where each agent should have isolated budget tracking. Parameters: Example output:

kill_agent

Suspend an agent. All payments from this agent will be blocked until it’s resumed. The wallet and balance are preserved. Parameters:

resume_agent

Re-activate a suspended agent. Parameters:

rename_agent

Change an agent’s display name. The agentId (used for API calls) stays the same — only the human-readable label changes. Parameters:

list_models

List all available AI models with pricing. Use this to show users what they can generate through Float without going to an external provider. Parameters: None Example output: