attach_reference_to_agent
Link a reference document to an agent for its use. Verify the attachment with list_agent_reference_docs before requesting publish_agent.
Instructions
Scope a reference to a agent so the agent uses it. Verify it landed with list_agent_reference_docs before request_publish_agent — the link lives outside the entity body, so re-reading the agent will not show it.
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": {
"agentId": "<agentId>",
"refId": "<refId>"
},
"name": "attach_reference_to_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refId | Yes | ||
| agentId | Yes |