my_functions
Read-only
View and manage your registered marketplace functions, including active listings with pricing, QoS, and registration details.
Instructions
View all functions you have registered on the marketplace. Shows active listings with pricing, QoS, and registration details.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/selling.ts:107-118 (registration)MCP tool registration for 'my_functions' - registers the tool with name, description, empty schema (no parameters), and the handler that wraps the API call.
server.tool( 'my_functions', 'View all functions you have registered on the marketplace. Shows active listings with pricing, QoS, and registration details.', {}, { readOnlyHint: true, openWorldHint: true }, async () => { const result = await client.getMyFunctions(); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }], }; } ); - src/tools/selling.ts:112-117 (handler)Tool handler function that calls client.getMyFunctions() and returns the result as formatted JSON text content.
async () => { const result = await client.getMyFunctions(); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }], }; } - src/client.ts:187-189 (handler)API client method getMyFunctions() that makes a GET request to '/functions/my' endpoint to retrieve the user's registered function listings.
async getMyFunctions(): Promise<any> { return this.request('/functions/my'); } - src/tools/selling.ts:110-110 (schema)Tool schema definition - empty object {} indicating the tool takes no input parameters.
{},