profile_skill_attachments
List or replace an agent profile's platform skill attachments in position order. Provide the full skill list to overwrite the current set, or leave it out to view current attachments.
Instructions
List or replace a profile's PLATFORM skill attachments (agent_profile_skills — the set the runtime catalogs each turn). action: list → current attachment rows in position order; set → REPLACE the join with skill_ids in order (position = index). Only active platform skills (business_id null) matching the profile's agent_kind attach; tenant skills resolve dynamically and are never pinned. No confirm gate — reversible config, matching the portal. To add/remove ONE skill without re-sending the list, use profile_attachments(kind="skills").
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": {
"profile_id": "<profile_id>"
},
"name": "profile_skill_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Config branch: which `environment` rows of the AI config DB to read/write. staging = the editable working set (default); prod = what production serves. | staging |
| action | No | Operation to run: list | set. The tool description lists what each action needs. | list |
| skill_ids | No | Full skill list in order — REPLACES the current set. | |
| profile_id | Yes | Agent profile UUID (list_profiles / get_profile). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |