ragflow_create_agent
Create an agent from a JSON graph DSL in RAGFlow, defining components like Begin, Agent, and Message to build reusable workflows.
Instructions
Create an agent from a graph (DSL).
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": {
"title": "<title>",
"dsl": "<dsl>"
},
"name": "ragflow_create_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dsl | Yes | Agent graph (DSL) as a JSON object with components such as Begin, Agent and Message; take one from ragflow_list_agent_templates or ragflow_get_agent | |
| title | Yes | Agent title; RAGFlow appends (1), (2) ... if it is taken | |
| permission | No | Who may use and edit the agent | |
| description | No | ||
| canvas_category | No | Defaults to agent_canvas |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||