get_instruction
Retrieve complete instruction files from the OpenClaw registry to access agent prompts, skills, workflows, and domain packs for deployment.
Instructions
Fetch a complete instruction file from the OpenClaw registry by slug. Returns the full Markdown file including YAML frontmatter, purpose, usage notes, and the deployable instruction text. The instruction is in the "## The Instruction" section.
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": {
"slug": "<slug>"
},
"name": "get_instruction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The slug of the instruction file (e.g. "tier1-customer-support", "structured-web-research"). Get slugs from search_registry. | |
| instruction_only | No | If true, return only the deployable instruction text (extracted from the fenced code block). If false, return the full Markdown file. Default: false. |