paperclip_set_agent_instructions_path
Set or clear the AGENTS.md instructions file path for a specific agent to define its role instructions when onboarding.
Instructions
⚠ Board-only: Set or clear the AGENTS.md instructions file path for an agent.
Args:
agentId: string — Agent UUID (example: "agt_abc123")
path: string | null — Absolute path to the AGENTS.md file; null to clear (example: "/home/user/.agents/engineer/AGENTS.md")
adapterConfigKey: string (optional) — Override adapter config key for non-standard adapters
Returns: Returns the updated agent record with the new instructionsFilePath value.
Examples:
Use when: onboarding a new agent by pointing it at its role-specific AGENTS.md (requires board API key)
Don't use when: you want to update other adapter settings — use paperclip_update_agent for other adapterConfig fields
Error Handling:
401: authentication failed → check PAPERCLIP_API_KEY
403: permission denied → this tool requires a board (human) API key
404: agent not found → verify ID with paperclip_list_agents
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | Agent UUID | |
| path | Yes | Path to AGENTS.md file, or null to clear | |
| adapterConfigKey | No | Adapter config key override for non-standard adapters |