ask_claude
Send a question or instruction to Claude, optionally attaching a local file such as code, text, image, or PDF for analysis.
Instructions
Send a prompt to Claude (Anthropic). Optionally attach a local file — code, text, image, or PDF — for Claude to read and include in its analysis. Use this when you want Claude's perspective on a question, piece of code, document, or design.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Optional path to a local file. Absolute paths are recommended to avoid ambiguity about the working directory. Supported types: code and text files (.js .ts .php .py .md .json etc.), images (.png .jpg .jpeg .gif .webp), and PDFs (.pdf). Example: /Users/you/project/auth.php | |
| prompt | Yes | The question or instruction for Claude. | |
| system | No | Optional system prompt that sets Claude's role, e.g. 'You are a security auditor'. |