clink
Forward user requests to configured external AI CLIs (Claude, Codex, Gemini) to reuse their capabilities within existing workflows.
Instructions
Link a request to an external AI CLI (Gemini CLI, Qwen CLI, etc.) through PAL MCP to reuse their capabilities inside existing workflows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Optional role preset defined for the selected CLI (defaults to 'default'). Roles per CLI: claude: codereviewer, default, planner; codex: codereviewer, default, planner; gemini: codereviewer, default, planner | |
| model | No | Optional CLI model name. Use native to suppress clink model injection and let the CLI default apply. | |
| images | No | Optional absolute image paths or base64 blobs for visual context. | |
| prompt | Yes | User request forwarded to the CLI (conversation context is pre-applied). | |
| cli_name | Yes | Configured CLI client name (from conf/cli_clients). Available: claude, codex, gemini | |
| continuation_id | No | Unique thread continuation ID for multi-turn conversations. Works across different tools. ALWAYS reuse the last continuation_id you were given—this preserves full conversation context, files, and findings so the agent can resume seamlessly. | |
| absolute_file_paths | No | Full paths to relevant code |