Ai Prompt
ai_promptDraft texts or answer questions using your organization's AI persona and knowledge base, with optional knowledge lookup disabled for standalone prompts.
Instructions
Run a free-form prompt through the organization's AI: it answers with the organization's persona and response rules and, unless disabled, the knowledge base entries matching the prompt. Use it to draft texts or answer questions from the knowledge base. Include any conversation context in the prompt itself.
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": {
"organizationId": "<organizationId>",
"prompt": "<prompt>"
},
"name": "ai_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The prompt or question. | |
| organizationId | Yes | The organization id. Use organization_list to find it. | |
| removeKnowledge | No | true answers without searching the knowledge base. |