Prompt agent
prompt_agentSend a prompt to an AI agent in a space and return its text reply (one-shot). Get agent ids from list_agents. Runs on the agent's configured model and consumes AI credits. To review past agent chats (e.g. for QA), use list_conversations + get_conversation.
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": {
"spaceId": "<spaceId>",
"agentId": "<agentId>",
"prompt": "<prompt>"
},
"name": "prompt_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | User message to send to the agent | |
| agentId | Yes | Agent ID from `list_agents` | |
| spaceId | Yes | Space ID |