Activate account
credits.claimActivate the user's cuttingfloor account with the task they want to do, in their words. Personalises their start: records what they're making, adds a sample video that fits it to their library (playing here) and returns their balance. Once per account; later calls return the balance.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"use_case": "<use_case>"
},
"name": "credits.claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| use_case | Yes | What task the user is looking to complete with cuttingfloor, in their words where possible |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | The sample's import, while it runs | |
| status | No | The sample import's status, while it runs | |
| credits | Yes | The account's credits, as account.get gives them; null when they can't be read | |
| message | Yes | ||
| media_id | Yes | Big Buck Bunny, a 30-second sample (Blender Foundation, CC BY) added to the user's library, free, to try edits on; null when it couldn't be added | |
| claimed_now | Yes | true on the call that activated the account; false when it was already active |