attach_skill_to_agent
Assign a skill to an agent to enable its use. Verify the attachment using list_agent_skills before publishing, as the link is not visible in the agent entity.
Instructions
Scope a skill to a agent so the agent uses it. Verify it landed with list_agent_skills 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>",
"skillId": "<skillId>"
},
"name": "attach_skill_to_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | ||
| skillId | Yes |