HigherData / Tool
agent.run
Ask HigherData to plan a request, confirm verification or CRM steps, cancel, set its step limit or start a new conversation. Verification and CRM steps wait for your confirmation and CRM proposals need human review. Dry run does not plan or execute.
Scopes: data:read, data:write
Send execute false to preview the change. Send execute true to write it. A preview does not change stored data.
REST: POST /api/v1/tools/agent.run?execute=false. The same call is POST /api/v1/agent/run?execute=false.
MCP tool name: agent_run. It is in the default MCP catalog when your scopes allow it.
Input
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | no | Private conversation id. Omit to begin a conversation. UUID. |
| action | string | yes | Send a message, confirm a quoted step, cancel, change budget or start new. One of: message, confirm, cancel, budget, new. |
| message | string | no | Request to plan. Required for the message action. 1 to 2000 characters. |
| token | string | no | Exact one-use token from the pending step. Required to confirm. UUID. |
| budget | integer | no | Maximum tool steps in this conversation, up to 100. From 0 to 100. |
Output
| Field | Type | Required | Description |
|---|---|---|---|
| executed | boolean | yes | |
| conversation | value | yes | |
| remaining | value | yes |
Request
curl -sS -X POST "https://higherdata.io/api/v1/tools/agent.run?execute=false" \
-H "Authorization: Bearer hd_example_replace_me" \
-H "Content-Type: application/json" \
-d '{
"action": "new"
}'SDK
import { HigherData } from "higherdata-sdk";
const higherdata = new HigherData({
apiKey: "hd_example_replace_me",
apiUrl: "https://higherdata.io",
});
const result = await higherdata.call("agent.run", {
"action": "new"
}, { execute: false });Example
{
"input": {
"action": "new"
},
"output": {
"executed": true,
"conversation": {
"id": "11111111-1111-4111-8111-111111111111",
"budget": 50,
"spent": 0,
"state": {
"events": [],
"plan": null,
"index": 0,
"results": [],
"pending": null
},
"created_at": "2026-10-01T00:00:00.000Z"
},
"remaining": null
}
}