read_api_file
Reads a specified file from the Pumpkin Plugin API or WIT interface, letting you inspect source code and definitions for WebAssembly plugin development.
Instructions
Reads the content of a specific file in the Pumpkin Plugin API or WIT interface
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": {
"filePath": "<filePath>"
},
"name": "read_api_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the file relative to the API or WIT root, e.g. 'src/lib.rs' or 'pumpkin-plugin.wit' |