get_assistant_files
Retrieve files linked to a specific assistant by providing the assistant ID. Simplify access to associated resources for VoiceAI integrations and custom applications.
Instructions
Get files associated with an assistant
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assistant_id | Yes | Assistant ID |
Implementation Reference
- index.js:244-253 (registration)Registration of the 'get_assistant_files' tool, including its name, description, and input schema requiring 'assistant_id'.name: 'get_assistant_files', description: 'Get files associated with an assistant', inputSchema: { type: 'object', properties: { assistant_id: { type: 'string', description: 'Assistant ID' } }, required: ['assistant_id'] } },
- index.js:246-252 (schema)Input schema for 'get_assistant_files' tool: requires assistant_id as string.inputSchema: { type: 'object', properties: { assistant_id: { type: 'string', description: 'Assistant ID' } }, required: ['assistant_id'] }
- index.js:574-576 (handler)Handler implementation in executeTool: sets URL to fetch assistant files via backend API and performs GET request (common fetch logic follows).case 'get_assistant_files': url = `${this.baseUrl}/assistants/${args.assistant_id}/files`; break;