get_loan_state
Determine the agent's loan state to decide whether to allow actions like spending. Returns one of: idle, borrowing, at_limit, or repaying.
Instructions
Return the agent's coarse credit state-machine view: idle | borrowing | at_limit | repaying. Use to gate actions that only make sense in specific states (e.g. don't spend while at_limit). Requires an agent key (floe_...).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_loan_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||