get-manifest
Retrieve the payment manifest for AgentOracle's x402 protocol, detailing requirements, supported networks, pricing, and integration endpoints for programmatic access.
Instructions
Get the AgentOracle x402 payment manifest. Returns payment requirements, supported networks, pricing, and endpoint details for programmatic integration.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:163-179 (handler)Implementation of the 'get-manifest' MCP tool.
server.tool( "get-manifest", "Get the AgentOracle x402 payment manifest. Returns payment requirements, supported networks, pricing, and endpoint details for programmatic integration.", {}, async () => { try { const response = await fetch(MANIFEST_ENDPOINT); const data = await response.json(); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] }; } catch (error) { return { content: [{ type: "text", text: `Failed to fetch x402 manifest: ${error instanceof Error ? error.message : String(error)}` }], isError: true, }; } } );