Endpoints: 28,729MCP servers: 18,413Payout addresses: 2,071Paid calls: 1,536Letters: 14Defects: 1,322counted 4 min ago
teppi

Server definition

Hash
sha256:3767bc5eeed16892f4e95ba2b20bad1fc72974de5bb66a4b1d688c6b8addcf68
What it is
What a remote MCP server returned when asked what it offers: 256 tools

The blob, as servednamed by its sha256

{ "instructions": "Discover PCC capabilities before committing work. Use read-only catalog tools first, confirm configuration and pricing with the user before write operations, and verify job evidence before reporting physical work complete. Protected PCC API operations require a Bearer key provisioned through POST /api/auth/provision.", "tools": [ { "description": "Activate an approved registration, making the operator's equipment live on the network and ready to accept jobs.", "inputSchema": { "properties": { "registrationId": { "description": "Registration ID", "type": "string" } }, "required": [ "registrationId" ], "type": "object" }, "name": "activate_registration", "outputSchema": null }, { "description": "Advance the automation level for a transfer pair (manual → teleoperated → pilot_operated → vla_assisted → fully_autonomous). Requires sufficient training episodes.", "inputSchema": { "properties": { "fromNodeId": { "description": "Source instrument node ID", "type": "string" }, "toNodeId": { "description": "Destination instrument node ID", "type": "string" } }, "required": [ "fromNodeId", "toNodeId" ], "type": "object" }, "name": "advance_automation", "outputSchema": null }, { "description": "AI analysis of machine documentation. Upload docs to get suggested capabilities, extracted specs, materials, and tolerances.", "inputSchema": { "properties": { "document": { "description": "Document content or reference to analyze", "type": "string" } }, "required": [], "type": "object" }, "name": "analyze_machine_docs", "outputSchema": null }, { "description": "Approve a submitted machine registration. Moves it from 'submitted' to 'approved' status, enabling the operator to activate and start accepting jobs.", "inputSchema": { "properties": { "registrationId": { "description": "Registration ID (e.g. 'reg-1234567890')", "type": "string" } }, "required": [ "registrationId" ], "type": "object" }, "name": "approve_registration", "outputSchema": null }, { "description": "Archive an encrypted evidence bundle to IPFS and store the resulting CID in the database. Idempotent — returns existing CID if already archived.", "inputSchema": { "properties": { "bundleId": { "description": "Encrypted evidence bundle ID", "type": "string" } }, "required": [ "bundleId" ], "type": "object" }, "name": "archive_encrypted_bundle", "outputSchema": null }, { "description": "Archive an evidence bundle to IPFS/Storacha for permanent decentralized storage. Returns the content-addressed CID.", "inputSchema": { "properties": { "bundle": { "description": "Evidence bundle object to archive", "type": "object" } }, "required": [ "bundle" ], "type": "object" }, "name": "archive_evidence", "outputSchema": null }, { "description": "Attach a notification/dispatch channel to an operator so PCC knows how to ping them when a job lands. The operator's onboarding agent calls this AFTER the conversation that produced the channel record. Transport is a small stable enum (webhook|email|sms|voice|push|mqtt|file|manual) — vendor specifics live in the free-form `describe` field, written by the operator's agent. PCC the substrate stays neutral. Returns the channel record with a generated id.", "inputSchema": { "properties": { "credentialRef": { "description": "Reference to a secret in the credential vault (not the secret itself). PCC resolves it at dispatch time.", "type": "string" }, "describe": { "description": "Plain-English instructions for how PCC should talk to whatever is on the other end. Written by the operator's onboarding agent. Required, ≥4 chars. Example: 'POST JSON with keys order_id, line_items[], deadline_iso. I will POST back {order_id, status} to your reply URL.'", "type": "string" }, "direction": { "description": "out=PCC pushes only; in-out=operator's system also replies; in=operator pushes unsolicited.", "enum": [ "out", "in-out", "in" ], "type": "string" }, "enabled": { "description": "Whether the channel is live (defaults to true).", "type": "boolean" }, "endpoint": { "description": "Transport-specific routing payload. webhook→{url}, email→{address}, sms/voice→{phoneE164}, push→{token,platform}, mqtt→{brokerUrl,topic}, file→{scheme,path}, manual→{}.", "type": "object" }, "label": { "description": "Short human label shown to the operator and in admin UIs: 'Front counter printer', 'Owner's phone'.", "type": "string" }, "replyContract": { "description": "Optional operator-authored contract describing how the operator's system will respond to evidence requests, status pings, etc.", "type": "string" }, "slug": { "description": "Operator slug (typically the operator's address or unique identifier).", "type": "string" }, "transport": { "description": "Which wire does the message go over. `manual` = no machine endpoint (dashboard-only).", "enum": [ "webhook", "email", "sms", "voice", "push", "mqtt", "file", "manual" ], "type": "string" } }, "required": [ "slug", "label", "transport", "describe" ], "type": "object" }, "name": "attach_operator_channel", "outputSchema": null }, { "description": "Build and submit a capability contract with on-chain milestone escrow. Returns job ID and escrow address.", "inputSchema": { "properties": { "assuranceTier": { "description": "Assurance tier 0-3 (0=self-reported, 3=ZK-proven+bonds)", "type": "number" }, "profileId": { "description": "Optional capability profile ID", "type": "string" }, "selections": { "description": "Configuration selections", "type": "object" }, "type": { "description": "Capability type", "type": "string" } }, "required": [ "type", "selections", "assuranceTier" ], "type": "object" }, "name": "build_contract", "outputSchema": null }, { "description": "Calculate price for a capability configuration. Returns base price, tier premiums, and estimated total cost.", "inputSchema": { "properties": { "profileId": { "description": "Optional capability profile ID", "type": "string" }, "selections": { "description": "Configuration selections (material, dimensions, quantity, etc.)", "type": "object" }, "type": { "description": "Capability type", "type": "string" } }, "required": [ "type", "selections" ], "type": "object" }, "name": "calculate_price", "outputSchema": null }, { "description": "Calculate ROI projection for onboarding equipment. Returns month-by-month revenue, cost, and break-even analysis.", "inputSchema": { "properties": { "avgJobValue": { "description": "Average revenue per job in USD", "type": "number" }, "monthlyCost": { "description": "Monthly operating cost in USD", "type": "number" }, "utilization": { "description": "Expected utilization percentage (0-100)", "type": "number" } }, "required": [], "type": "object" }, "name": "calculate_roi", "outputSchema": null }, { "description": "Cancel a protocol run. Cannot be cancelled once completed or already cancelled.", "inputSchema": { "properties": { "runId": { "description": "Protocol run ID to cancel", "type": "string" } }, "required": [ "runId" ], "type": "object" }, "name": "cancel_protocol_run", "outputSchema": null }, { "description": "Validate an invite code before redeeming it. Returns whether the code is valid and what it includes.", "inputSchema": { "properties": { "code": { "description": "Invite code to check", "type": "string" } }, "required": [ "code" ], "type": "object" }, "name": "check_invite", "outputSchema": null }, { "description": "Check for admin replies on the operator's support threads. Call this periodically or when the operator asks 'did they respond yet?'. Returns all threads for this kernel and a hasUnreadReplies boolean indicating new admin messages.", "inputSchema": { "properties": { "kernelId": { "description": "Operator's kernel ID", "type": "string" } }, "required": [ "kernelId" ], "type": "object" }, "name": "check_support_replies", "outputSchema": null }, { "description": "Claim a bounty to onboard a new capability. The operator commits to registering the capability and completing verification.", "inputSchema": { "properties": { "bountyId": { "description": "ID of the bounty to claim", "type": "string" }, "operatorId": { "description": "ID of the operator claiming the bounty", "type": "string" } }, "required": [ "bountyId", "operatorId" ], "type": "object" }, "name": "claim_bounty", "outputSchema": null }, { "description": "Claim earned revenue from an IP asset vault. Returns the claimed amount and transaction hash.", "inputSchema": { "properties": { "ipId": { "description": "IP asset ID", "type": "string" }, "tokenIds": { "description": "Specific royalty token IDs to claim (optional — claims all if omitted)", "items": { "type": "string" }, "type": "array" } }, "required": [ "ipId" ], "type": "object" }, "name": "claim_ip_revenue", "outputSchema": null }, { "description": "Operator claims an investment pool reward after capability verification.", "inputSchema": { "properties": { "operatorId": { "description": "Operator ID making the claim", "type": "string" }, "poolId": { "description": "Pool ID to claim", "type": "string" } }, "required": [ "poolId", "operatorId" ], "type": "object" }, "name": "claim_pool", "outputSchema": null }, { "description": "Close an investment pool to new stakes. Pool enters sunset phase.", "inputSchema": { "properties": { "poolId": { "description": "Pool ID to close", "type": "string" } }, "required": [ "poolId" ], "type": "object" }, "name": "close_pool", "outputSchema": null }, { "description": "Create a Merkle commitment for an evidence bundle hash. Used as the first step in ZK proof generation for Tier 3 assurance.", "inputSchema": { "properties": { "bundleHash": { "description": "SHA-256 hash of the evidence bundle", "type": "string" } }, "required": [ "bundleHash" ], "type": "object" }, "name": "commit_evidence", "outputSchema": null }, { "description": "Convert an existing bounty into an investment pool. Allows community staking toward the bounty's capability.", "inputSchema": { "properties": { "bountyId": { "description": "Bounty ID to convert to a pool", "type": "string" } }, "required": [ "bountyId" ], "type": "object" }, "name": "convert_bounty_to_pool", "outputSchema": null }, { "description": "Register a capability instance for a kernel. Required before submitting jobs — the gateway needs at least one capability per kernel. Creates a liquid-handler, fdm, cnc-3axis, or other capability type.", "inputSchema": { "properties": { "description": { "description": "Description of what this capability does", "type": "string" }, "kernelId": { "description": "Kernel ID to register capability for", "type": "string" }, "name": { "description": "Human-readable name for the capability", "type": "string" }, "type": { "description": "Capability type (e.g. liquid-handler, fdm, cnc-3axis, laser-cut, document-printing)", "type": "string" } }, "required": [ "kernelId", "type" ], "type": "object" }, "name": "create_capability", "outputSchema": null }, { "description": "Create an investment pool for a capability bounty. Stakers earn future protocol fees when the capability goes live.", "inputSchema": { "properties": { "capabilityType": { "description": "Type of capability to invest in (e.g. cnc-milling, sla-printing)", "type": "string" }, "currency": { "description": "Currency for the pool", "enum": [ "USDC", "CREDITS" ], "type": "string" }, "description": { "description": "Description of the capability pool", "type": "string" }, "targetAmount": { "description": "Funding target amount", "type": "number" } }, "required": [ "capabilityType", "description" ], "type": "object" }, "name": "create_investment_pool", "outputSchema": null }, { "description": "Register a new Shop Kernel (physical site) on the PCC network. Part of Step 2 in the onboarding flow.", "inputSchema": { "properties": { "config": { "description": "Kernel configuration JSON", "type": "object" }, "description": { "description": "Description of the site and its capabilities", "type": "string" }, "location": { "description": "Location object with address and geo coordinates", "type": "object" }, "name": { "description": "Kernel/site name (e.g. 'BioPunk Lab - Bay A')", "type": "string" } }, "required": [ "name" ], "type": "object" }, "name": "create_kernel", "outputSchema": null }, { "description": "Create a new protocol template draft. Returns the new template ID.", "inputSchema": { "properties": { "description": { "description": "Protocol description", "type": "string" }, "name": { "description": "Protocol name", "type": "string" }, "parameters": { "description": "Array of parameter definitions", "type": "array" }, "requiredCapabilities": { "description": "Required capability types", "items": { "type": "string" }, "type": "array" }, "steps": { "description": "Array of protocol step objects", "type": "array" }, "tags": { "description": "Tags for discovery", "items": { "type": "string" }, "type": "array" }, "transfers": { "description": "Array of transfer objects between steps", "type": "array" } }, "required": [ "name" ], "type": "object" }, "name": "create_protocol", "outputSchema": null }, { "description": "Instantiate a protocol template as a run on a specific kernel with given parameter values.", "inputSchema": { "properties": { "id": { "description": "Protocol template ID", "type": "string" }, "kernelId": { "description": "Kernel ID to run the protocol on", "type": "string" }, "parameterValues": { "description": "Runtime parameter values (overrides template defaults)", "type": "object" }, "sampleIds": { "description": "Sample IDs being processed in this run", "items": { "type": "string" }, "type": "array" } }, "required": [ "id" ], "type": "object" }, "name": "create_protocol_run", "outputSchema": null }, { "description": "Create a new equipment shipment with origin, destination, package details, and provider.", "inputSchema": { "properties": { "destination": { "description": "Destination location with label, address, geo coordinates", "type": "object" }, "equipmentDescription": { "description": "Description of equipment being shipped", "type": "string" }, "origin": { "description": "Origin location with label, address, geo coordinates", "type": "object" }, "package": { "description": "Package details (weightKg, dimensions, fragile, etc.)", "type": "object" }, "providerId": { "description": "Logistics provider ID", "type": "string" } }, "required": [ "equipmentDescription" ], "type": "object" }, "name": "create_shipment", "outputSchema": null }, { "description": "Remove a channel from an operator. Future jobs will not dispatch to it. Use update_operator_channel with enabled=false to silence temporarily without losing the recipe in `describe`.", "inputSchema": { "properties": { "id": { "description": "Channel id.", "type": "string" } }, "required": [ "id" ], "type": "object" }, "name": "delete_operator_channel", "outputSchema": null }, { "description": "Deposit an operator bond for a milestone on-chain. Required for Assurance Tier 3 jobs. Returns transaction hash.", "inputSchema": { "properties": { "address": { "description": "Escrow contract address (0x...)", "type": "string" }, "milestoneIndex": { "description": "Milestone index to post bond for (0-based)", "type": "number" } }, "required": [ "address", "milestoneIndex" ], "type": "object" }, "name": "deposit_bond", "outputSchema": null }, { "description": "File a dispute against the consensus verdict. Only verifiers who submitted a response can dispute. Requires additional evidence CID.", "inputSchema": { "properties": { "disputerId": { "description": "Verifier node ID filing the dispute", "type": "string" }, "evidenceCid": { "description": "IPFS CID of the counter-evidence", "type": "string" }, "reason": { "description": "Reason for disputing the consensus", "type": "string" }, "requestId": { "description": "Verification request ID (hvreq_...)", "type": "string" } }, "required": [ "requestId", "disputerId", "reason", "evidenceCid" ], "type": "object" }, "name": "dispute_verification", "outputSchema": null }, { "description": "Set revenue splits for an IP asset among stakeholders (designer, operator, verifier, assembler, curator). Splits must sum to 100.", "inputSchema": { "properties": { "ipId": { "description": "IP asset ID", "type": "string" }, "splits": { "description": "Revenue splits — must sum to 100", "items": { "properties": { "address": { "description": "Recipient EVM address", "type": "string" }, "label": { "description": "Human-readable label", "type": "string" }, "percentage": { "description": "Percentage share (0-100)", "type": "number" }, "role": { "enum": [ "designer", "operator", "verifier", "assembler", "curator" ], "type": "string" } }, "required": [ "address", "role", "percentage", "label" ], "type": "object" }, "type": "array" } }, "required": [ "ipId", "splits" ], "type": "object" }, "name": "distribute_royalties", "outputSchema": null }, { "description": "Manually emit a telemetry event for a job pipeline phase. Used by kernels and agents to report execution progress.", "inputSchema": { "properties": { "duration_ms": { "description": "Phase duration in milliseconds", "type": "number" }, "jobId": { "description": "Job ID", "type": "string" }, "level": { "description": "Log level for this event", "enum": [ "info", "warn", "error", "debug" ], "type": "string" }, "metadata": { "description": "Additional event metadata", "type": "object" }, "phase": { "description": "Pipeline phase name (e.g. intake, binding, execution, evidence, settlement)", "type": "string" }, "source": { "description": "Source module or component", "type": "string" }, "status": { "description": "Phase status", "enum": [ "started", "completed", "failed", "skipped" ], "type": "string" } }, "required": [ "jobId", "phase", "status" ], "type": "object" }, "name": "emit_telemetry", "outputSchema": null }, { "description": "Commit a proposed composition: drives the DAG through the workflow engine, each step records a reputation outcome, the composition's reputation is finalized when the run ends. When `PCC_COMPOSE_EXECUTE_REAL=true` is set on the gateway, steps submit real jobs via JobFacade and the workflow run is durable (@pcc/workflow). When the flag is off, the NOOP runner returns synthetic success — useful in dev/test. Re-executing an already-run composition replays the stored result (idempotent — reputation deltas are applied exactly once).", "inputSchema": { "properties": { "id": { "description": "Composition id from propose_composition. Must be in `proposed` status and not expired.", "type": "string" }, "idempotencyKey": { "description": "Optional caller-supplied key (≤120 chars) to dedupe execute calls.", "type": "string" } }, "required": [ "id" ], "type": "object" }, "name": "execute_composition", "outputSchema": null }, { "description": "File a dispute against a milestone on-chain. Challenger must post a bond and provide evidence hash. Returns transaction hash.", "inputSchema": { "properties": { "address": { "description": "Escrow contract address (0x...)", "type": "string" }, "challengerBond": { "description": "Bond amount in wei (as string)", "type": "string" }, "challengerEvidenceHash": { "description": "Evidence hash as 0x-prefixed hex bytes32", "type": "string" }, "milestoneIndex": { "description": "Milestone index to dispute (0-based)", "type": "number" }, "reason": { "description": "Human-readable dispute reason", "type": "string" } }, "required": [ "address", "milestoneIndex", "challengerBond", "challengerEvidenceHash", "reason" ], "type": "object" }, "name": "file_escrow_dispute", "outputSchema": null }, { "description": "Fork an existing dashboard into a new artifact you own, preserving lineage back to the original (the social remix verb). Use this to adapt a popular dashboard rather than build from scratch — e.g. fork a 'watch pizza' dashboard and raise the budget or add a receipt window via update_dashboard. Increments the source's fork counter. You can fork any public/unlisted artifact, or a private one you own.", "inputSchema": { "properties": { "id": { "description": "The id (ua_...) of the artifact to fork.", "type": "string" }, "name": { "description": "Optional name for the fork (defaults to '<original> (fork)').", "type": "string" }, "visibility": { "description": "Visibility of the fork (default 'unlisted').", "enum": [ "private", "unlisted", "public" ], "type": "string" } }, "required": [ "id" ], "type": "object" }, "name": "fork_dashboard", "outputSchema": { "additionalProperties": false, "properties": { "manifest": { "type": "object" }, "name": { "type": "string" }, "slug": { "type": "string" } }, "required": [ "manifest" ], "type": "object" } }, { "description": "Fork a protocol template to create your own version with parameter overrides. Returns the new fork ID.", "inputSchema": { "properties": { "id": { "description": "Protocol template ID to fork", "type": "string" }, "name": { "description": "Name for the forked protocol", "type": "string" }, "parameterOverrides": { "description": "Parameter values to override from the source template", "type": "object" } }, "required": [ "id" ], "type": "object" }, "name": "fork_protocol", "outputSchema": null }, { "description": "Fund a protocol-created escrow on-chain. Approval is handled INTERNALLY by the gateway for protocol-created escrows (audit C-03 removed the public approve step) — do NOT call a separate approve first; fund directly. Returns transaction hash.", "inputSchema": { "properties": { "address": { "description": "Escrow contract address (0x...)", "type": "string" } }, "required": [ "address" ], "type": "object" }, "name": "fund_escrow", "outputSchema": null }, { "description": "List currently active jobs with their current pipeline phase and telemetry status.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "get_active_telemetry", "outputSchema": null }, { "description": "Get anomalies involving a specific agent, plus their trust impact score.", "inputSchema": { "properties": { "agentId": { "description": "Agent or kernel ID", "type": "string" } }, "required": [ "agentId" ], "type": "object" }, "name": "get_agent_anomalies", "outputSchema": null }, { "description": "Get aggregate anomaly statistics — total, unresolved, by severity, by category.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "get_anomaly_stats", "outputSchema": null }, { "description": "Get automation status for a specific instrument-to-instrument transfer pair.", "inputSchema": { "properties": { "fromNodeId": { "description": "Source instrument node ID", "type": "string" }, "toNodeId": { "description": "Destination instrument node ID", "type": "string" } }, "required": [ "fromNodeId", "toNodeId" ], "type": "object" }, "name": "get_automation_status", "outputSchema": null }, { "description": "Get the bounty hunter leaderboard showing top operators by bounties claimed and verified.", "inputSchema": { "properties": { "limit": { "description": "Number of entries to return (default 10)", "type": "number" } }, "required": [], "type": "object" }, "name": "get_bounty_leaderboard", "outputSchema": null }, { "description": "Get configuration options for a capability type (materials, dimensions, tolerances, assurance tiers). Use before calling calculate_price.", "inputSchema": { "properties": { "profileId": { "description": "Optional capability profile ID", "type": "string" }, "selections": { "description": "Current selections to refine available options", "type": "object" }, "type": { "description": "Capability type (e.g. fdm, cnc-3axis, hplc)", "type": "string" } }, "required": [ "type" ], "type": "object" }, "name": "get_build_options", "outputSchema": null }, { "description": "Get IPFS CIDs for a bundle — returns the primary CID, metadata CID, and Filecoin deal ID if available.", "inputSchema": { "properties": { "bundleId": { "description": "Evidence bundle ID", "type": "string" } }, "required": [ "bundleId" ], "type": "object" }, "name": "get_bundle_ipfs", "outputSchema": null }, { "description": "Get the Story Protocol IP registration for a capability by its capability ID.", "inputSchema": { "properties": { "capabilityId": { "description": "Capability ID to look up IP registration for", "type": "string" } }, "required": [ "capabilityId" ], "type": "object" }, "name": "get_capability_ip", "outputSchema": null }, { "description": "Retrieve a previously-proposed composition by id. Returns 404 if unknown, 410 if the 30-minute proposal window has expired. Use this to inspect a plan before executing, or to recover a plan id after a restart.", "inputSchema": { "properties": { "id": { "description": "Composition id (returned from propose_composition).", "type": "string" } }, "required": [ "id" ], "type": "object" }, "name": "get_composition", "outputSchema": null }, { "description": "Recall a saved dashboard by its id or slug. Returns the full artifact (manifest + metadata). Use this to reload a dashboard the user asks for again ('open my pizza dashboard') instead of regenerating it — a saved dashboard reloads with zero regeneration. Public for public/unlisted artifacts; owner-only for private ones. Increments the load counter (a popularity signal).", "inputSchema": { "properties": { "idOrSlug": { "description": "The artifact id (ua_...) or its slug (e.g. 'watch-my-pizza-8k3f', the tail of the /a/<slug> URL).", "type": "string" } }, "required": [ "idOrSlug" ], "type": "object" }, "name": "get_dashboard", "outputSchema": { "additionalProperties": false, "properties": { "manifest": { "type": "object" }, "name": { "type": "string" }, "slug": { "type": "string" } }, "required": [ "manifest" ], "type": "object" } }, { "description": "Get network-wide demand vs supply timeline data for capacity planning and market analysis.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "get_demand_supply", "outputSchema": null }, { "description": "DePIN treasury, soulbound capability certificates, and current reward epoch stats.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "get_depin_stats", "outputSchema": null }, { "description": "List equipment classes (FDM printers, CNC mills, etc.) with market snapshot data including utilization, demand, and pricing.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "get_equipment_classes", "outputSchema": null }, { "description": "Get escrow details. Pass a DB ID for database record (with milestones and disputes), or an EVM address (0x...) to read directly from the blockchain.", "inputSchema": { "properties": { "escrowId": { "description": "DB escrow ID or on-chain contract address (0x...)", "type": "string" } }, "required": [ "escrowId" ], "type": "object" }, "name": "get_escrow", "outputSchema": null }, { "description": "Read full on-chain escrow state with all milestone details from the blockchain. More detailed than get_escrow for on-chain contracts.", "inputSchema": { "properties": { "address": { "description": "On-chain escrow contract address (0x...)", "type": "string" } }, "required": [ "address" ], "type": "object" }, "name": "get_escrow_chain_state", "outputSchema": null }, { "description": "Read dispute state for a specific milestone from the blockchain.", "inputSchema": { "properties": { "address": { "description": "Escrow contract address (0x...)", "type": "string" }, "milestoneIndex": { "description": "Milestone index (0-based)", "type": "number" } }, "required": [ "address", "milestoneIndex" ], "type": "object" }, "name": "get_escrow_dispute", "outputSchema": null }, { "description": "Get on-chain event history for an escrow contract. Returns funding, release, dispute, and bond events.", "inputSchema": { "properties": { "address": { "description": "On-chain escrow contract address (0x...)", "type": "string" }, "fromBlock": { "description": "Starting block number (optional)", "type": "string" } }, "required": [ "address" ], "type": "object" }, "name": "get_escrow_events", "outputSchema": null }, { "description": "Get an encrypted evidence bundle by its bundle ID. Returns the encrypted payload and key capsules.", "inputSchema": { "properties": { "bundleId": { "description": "Evidence bundle ID", "type": "string" } }, "required": [ "bundleId" ], "type": "object" }, "name": "get_evidence_bundle", "outputSchema": null }, { "description": "List equipment installation orders with step progress and status.", "inputSchema": { "properties": { "status": { "description": "Filter by installation status (draft, scheduled, in_progress, completed)", "type": "string" } }, "required": [], "type": "object" }, "name": "get_installations", "outputSchema": null }, { "description": "Get the full IP lineage chain for an asset — parent capabilities and all derivative job registrations.", "inputSchema": { "properties": { "ipId": { "description": "IP asset ID", "type": "string" } }, "required": [ "ipId" ], "type": "object" }, "name": "get_ip_lineage", "outputSchema": null }, { "description": "Get a revenue snapshot for an IP asset — total earned, pending claims, and recent payments.", "inputSchema": { "properties": { "ipId": { "description": "IP asset ID", "type": "string" } }, "required": [ "ipId" ], "type": "object" }, "name": "get_ip_revenue", "outputSchema": null }, { "description": "Get job details including progress, evidence bundles, and milestones.", "inputSchema": { "properties": { "jobId": { "description": "Job ID", "type": "string" } }, "required": [ "jobId" ], "type": "object" }, "name": "get_job", "outputSchema": null }, { "description": "Get full event timeline for a specific job — all pipeline phase transitions with timings and metadata.", "inputSchema": { "properties": { "jobId": { "description": "Job ID to get pipeline timeline for", "type": "string" } }, "required": [ "jobId" ], "type": "object" }, "name": "get_job_telemetry", "outputSchema": null }, { "description": "Get kernel details including full capability objects, devices, and queue.", "inputSchema": { "properties": { "kernelId": { "description": "Kernel ID", "type": "string" } }, "required": [ "kernelId" ], "type": "object" }, "name": "get_kernel", "outputSchema": null }, { "description": "List all devices registered under a specific kernel, including adapter configs and device types.", "inputSchema": { "properties": { "kernelId": { "description": "Kernel ID", "type": "string" } }, "required": [ "kernelId" ], "type": "object" }, "name": "get_kernel_devices", "outputSchema": null }, { "description": "List all jobs submitted to a specific kernel, including job status and progress.", "inputSchema": { "properties": { "kernelId": { "description": "Kernel ID", "type": "string" } }, "required": [ "kernelId" ], "type": "object" }, "name": "get_kernel_jobs", "outputSchema": null }, { "description": "Get sensor channels for a specific kernel. Returns live channel descriptors.", "inputSchema": { "properties": { "kernelId": { "description": "Kernel ID to get sensors for", "type": "string" } }, "required": [ "kernelId" ], "type": "object" }, "name": "get_kernel_sensors", "outputSchema": null }, { "description": "Get Lit Protocol access conditions for a Lit-encrypted evidence bundle. Returns the conditions that gate decryption.", "inputSchema": { "properties": { "bundleId": { "description": "Evidence bundle ID (must be Lit-encrypted)", "type": "string" } }, "required": [ "bundleId" ], "type": "object" }, "name": "get_lit_conditions", "outputSchema": null }, { "description": "Logistics hub overview: active shipments, pending installations, and upcoming bookings.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "get_logistics_overview", "outputSchema": null }, { "description": "Equipment marketplace overview with demand/supply metrics across all capability types.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "get_marketplace_overview", "outputSchema": null }, { "description": "Answers 501 not_available: operator certifications are not recorded on this gateway (there is no certification store; certifications typed at registration are the operator's own claim and are not checked).", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "get_operator_certs", "outputSchema": null }, { "description": "Not available: no route answers GET /api/operator on this gateway. The operator's real kernels, devices and in-flight jobs are at GET /api/agent/me.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "get_operator_dashboard", "outputSchema": null }, { "description": "Answers 501 not_available: operator earnings history is not recorded on this gateway. Per-job payment state is at GET /api/jobs/:jobId/execution.", "inputSchema": { "properties": { "period": { "description": "Time period for earnings data", "enum": [ "7d", "30d", "90d", "1y" ], "type": "string" } }, "required": [], "type": "object" }, "name": "get_operator_earnings", "outputSchema": null }, { "description": "Answers 501 not_available: operator machines with utilization and uptime are not recorded on this gateway. The operator's real kernels, devices and in-flight jobs are at GET /api/agent/me.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "get_operator_machines", "outputSchema": null }, { "description": "Four-slot substrate view for an operator: kernels, capabilities (with sla + availability), notification channels, and the per-kernel A2A agent-card URLs. Returns totals and a `missing` list naming any of the four onboarding slots that are still empty. Use this from an onboarding agent's wrap-up step to confirm 'are all four slots wired before I go live?' status is `ready` | `partial` | `unconfigured`. Public — operator slug is non-secret and the response carries no credentials (channel `credentialRef` values are vault references, not secrets).", "inputSchema": { "properties": { "slug": { "description": "Operator slug — typically the operator's wallet address used as `operatorAddress` on their kernels.", "type": "string" } }, "required": [ "slug" ], "type": "object" }, "name": "get_operator_status", "outputSchema": null }, { "description": "Get details of a specific investment pool including stakes, status, and revenue share terms.", "inputSchema": { "properties": { "poolId": { "description": "Investment pool ID", "type": "string" } }, "required": [ "poolId" ], "type": "object" }, "name": "get_pool", "outputSchema": null }, { "description": "Check earnings from capability investment pools for a staker address.", "inputSchema": { "properties": { "staker": { "description": "Address or DID of the staker", "type": "string" } }, "required": [ "staker" ], "type": "object" }, "name": "get_pool_earnings", "outputSchema": null }, { "description": "Return CSDs sorted by adoption (usage-count descending). Useful for first-time operators who want to see what kind of capabilities others are publishing. Each entry includes the CSD record plus usage attribution: count, recent adopters (deduped, capped at 50), and lastUsedAt.", "inputSchema": { "properties": { "limit": { "description": "Max results (1..50, default 10).", "maximum": 50, "minimum": 1, "type": "integer" } }, "required": [], "type": "object" }, "name": "get_popular_csd_templates", "outputSchema": null }, { "description": "Get protocol template details by ID. Returns steps, transfers, parameters, and metadata.", "inputSchema": { "properties": { "id": { "description": "Protocol template ID", "type": "string" } }, "required": [ "id" ], "type": "object" }, "name": "get_protocol", "outputSchema": null }, { "description": "List all forks of a protocol template. Shows who forked it and what parameters they changed.", "inputSchema": { "properties": { "id": { "description": "Protocol template ID", "type": "string" } }, "required": [ "id" ], "type": "object" }, "name": "get_protocol_forks", "outputSchema": null }, { "description": "Get protocol run status including step progress, transfer status, current phase, and evidence hashes.", "inputSchema": { "properties": { "runId": { "description": "Protocol run ID", "type": "string" } }, "required": [ "runId" ], "type": "object" }, "name": "get_protocol_run", "outputSchema": null }, { "description": "Get details of a specific machine registration by ID, including capabilities, pricing, operator info, and current status.", "inputSchema": { "properties": { "registrationId": { "description": "Registration ID", "type": "string" } }, "required": [ "registrationId" ], "type": "object" }, "name": "get_registration", "outputSchema": null }, { "description": "List all registered sensor channels across kernels. Returns channel descriptors with units and ranges.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "get_sensor_channels", "outputSchema": null }, { "description": "Get settlement epoch history showing past batch settlements with timing and operation counts.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "get_settlement_epochs", "outputSchema": null }, { "description": "Get settlement pipeline status including pending operations count, total value queued, and smart account address.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "get_settlement_status", "outputSchema": null }, { "description": "Get shipping quotes from logistics providers based on origin, destination, weight, and priority.", "inputSchema": { "properties": { "destinationZip": { "description": "Destination ZIP code", "type": "string" }, "originZip": { "description": "Origin ZIP code", "type": "string" }, "priority": { "description": "Shipping priority level", "enum": [ "standard", "expedited", "rush" ], "type": "string" }, "weightKg": { "description": "Package weight in kg", "type": "number" } }, "required": [], "type": "object" }, "name": "get_shipment_quote", "outputSchema": null }, { "description": "List equipment shipments with tracking status. Optionally filter by status.", "inputSchema": { "properties": { "status": { "description": "Filter by shipment status (in_transit, delivered, pickup_scheduled, etc.)", "type": "string" } }, "required": [], "type": "object" }, "name": "get_shipments", "outputSchema": null }, { "description": "Get detailed information about a hosting space including power, amenities, safety features, and pricing.", "inputSchema": { "properties": { "id": { "description": "Space ID", "type": "string" } }, "required": [ "id" ], "type": "object" }, "name": "get_space", "outputSchema": null }, { "description": "List space bookings for hosting equipment. Optionally filter by status or space.", "inputSchema": { "properties": { "spaceId": { "description": "Filter by space ID", "type": "string" }, "status": { "description": "Filter by booking status", "type": "string" } }, "required": [], "type": "object" }, "name": "get_space_bookings", "outputSchema": null }, { "description": "List verification subnet miners on the Bittensor network. Returns miner addresses, scores, and leaderboard positions.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "get_subnet_miners", "outputSchema": null }, { "description": "Get Bittensor verification subnet health, agent bridge status, and network connectivity.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "get_subnet_status", "outputSchema": null }, { "description": "Query structured logs with filters for level, source, jobId, kernelId, time range, and full-text search.", "inputSchema": { "properties": { "after": { "description": "Return logs after this ISO timestamp", "type": "string" }, "before": { "description": "Return logs before this ISO timestamp", "type": "string" }, "jobId": { "description": "Filter by job ID", "type": "string" }, "kernelId": { "description": "Filter by kernel ID", "type": "string" }, "level": { "description": "Filter by log level", "enum": [ "debug", "info", "warn", "error" ], "type": "string" }, "limit": { "description": "Max entries to return (default 200)", "type": "number" }, "search": { "description": "Full-text search query", "type": "string" }, "source": { "description": "Filter by source module", "type": "string" } }, "required": [], "type": "object" }, "name": "get_telemetry_logs", "outputSchema": null }, { "description": "Get aggregate pipeline telemetry statistics including phase timings, success rates, and throughput metrics across all jobs.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "get_telemetry_stats", "outputSchema": null }, { "description": "Read the ERC-20 token allowance granted by an owner to a spender from the blockchain.", "inputSchema": { "properties": { "owner": { "description": "Token owner address (0x...)", "type": "string" }, "spender": { "description": "Spender address (0x...)", "type": "string" }, "tokenAddress": { "description": "ERC-20 token contract address (0x...)", "type": "string" } }, "required": [ "tokenAddress", "owner", "spender" ], "type": "object" }, "name": "get_token_allowance", "outputSchema": null }, { "description": "Read an ERC-20 token balance for an account address from the blockchain.", "inputSchema": { "properties": { "account": { "description": "Account address to check balance for (0x...)", "type": "string" }, "tokenAddress": { "description": "ERC-20 token contract address (0x...)", "type": "string" } }, "required": [ "tokenAddress", "account" ], "type": "object" }, "name": "get_token_balance", "outputSchema": null }, { "description": "Get top demand signals aggregated by capability type. Shows which capabilities are most wanted on the network.", "inputSchema": { "properties": { "limit": { "description": "Number of top demand entries to return (default 10)", "type": "number" } }, "required": [], "type": "object" }, "name": "get_top_demand", "outputSchema": null }, { "description": "Get resource transfer graphs showing instrument topology, transfer edges, and mechanisms for all kernels.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "get_transfer_graphs", "outputSchema": null }, { "description": "List all unresolved anomalies on the network. Filter by severity, category, or target agent.", "inputSchema": { "properties": { "category": { "description": "Filter by category", "type": "string" }, "severity": { "description": "Filter by severity: info, warning, critical", "type": "string" }, "targetId": { "description": "Filter by target agent/kernel ID", "type": "string" } }, "required": [], "type": "object" }, "name": "get_unresolved_anomalies", "outputSchema": null }, { "description": "Get pending verification assignments for a verifier node. Returns requests this verifier has been assigned but not yet responded to.", "inputSchema": { "properties": { "verifierId": { "description": "Verifier node ID", "type": "string" } }, "required": [ "verifierId" ], "type": "object" }, "name": "get_verification_assignments", "outputSchema": null }, { "description": "Get verification status for a request. Returns vote tally, consensus state, dispute list, and pending response count.", "inputSchema": { "properties": { "requestId": { "description": "Verification request ID (hvreq_...)", "type": "string" } }, "required": [ "requestId" ], "type": "object" }, "name": "get_verification_status", "outputSchema": null }, { "description": "Get detailed workflow information including steps, node assignments, and progress.", "inputSchema": { "properties": { "workflowId": { "description": "Workflow ID", "type": "string" } }, "required": [ "workflowId" ], "type": "object" }, "name": "get_workflow", "outputSchema": null }, { "description": "List active instrument workflows in the orchestrator. Optionally filter by status.", "inputSchema": { "properties": { "status": { "description": "Filter by workflow status (e.g. running, completed)", "type": "string" } }, "required": [], "type": "object" }, "name": "get_workflows", "outputSchema": null }, { "description": "Check if on-chain write operations are enabled (requires PCC_GATEWAY_PRIVATE_KEY to be configured). Returns write status and signer address.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "get_write_status", "outputSchema": null }, { "description": "Grant a new recipient access to an encrypted evidence bundle. Creates a re-encrypted key capsule for the recipient.", "inputSchema": { "properties": { "accessLevel": { "description": "Level of access to grant (default: full)", "enum": [ "full", "selective", "summary_only" ], "type": "string" }, "bundleId": { "description": "Evidence bundle ID", "type": "string" }, "recipientAddress": { "description": "Recipient EVM address (0x...)", "type": "string" } }, "required": [ "bundleId", "recipientAddress" ], "type": "object" }, "name": "grant_evidence_access", "outputSchema": null }, { "description": "Announce capabilities for a kernel. NOTE: the gateway currently acknowledges this call but stores nothing, so it does not put any capability on the network. To publish a capability, use create_capability (POST /api/capabilities).", "inputSchema": { "properties": { "capabilities": { "description": "Capability objects to announce", "items": { "type": "object" }, "type": "array" }, "devices": { "description": "Device IDs that back these capabilities", "items": { "type": "string" }, "type": "array" }, "kernelId": { "description": "Kernel ID", "type": "string" }, "signature": { "description": "Ed25519 signature of the announcement", "type": "string" } }, "required": [ "kernelId", "capabilities" ], "type": "object" }, "name": "kernel_announce_capabilities", "outputSchema": null }, { "description": "Send a per-kernel heartbeat to keep the kernel marked online. Used by pcc-node daemons as an alternative to the operator relay heartbeat.", "inputSchema": { "properties": { "capabilities": { "description": "Optional capability announcements", "items": { "type": "object" }, "type": "array" }, "kernelId": { "description": "Kernel ID", "type": "string" }, "status": { "default": "online", "description": "Kernel status (online/offline)", "type": "string" } }, "required": [ "kernelId" ], "type": "object" }, "name": "kernel_heartbeat", "outputSchema": null }, { "description": "List all active API keys for the authenticated operator. Returns key IDs, prefixes, scopes, rate limits, usage counts, and creation/expiry timestamps. Requires a valid API key or SIWE session.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "list_api_keys", "outputSchema": null }, { "description": "List automation status for all instrument transfer pairs. Shows current automation level, episode count, and training readiness. Filter by kernelId.", "inputSchema": { "properties": { "kernelId": { "description": "Filter by kernel ID", "type": "string" } }, "required": [], "type": "object" }, "name": "list_automation_status", "outputSchema": null }, { "description": "List active and completed settlement batches.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "list_batches", "outputSchema": null }, { "description": "List open bounties for capabilities the network needs. Operators can claim these to earn rewards by onboarding new capabilities.", "inputSchema": { "properties": { "capabilityType": { "description": "Filter by capability type", "type": "string" }, "status": { "description": "Filter by bounty status", "enum": [ "open", "claimed", "verified", "paid", "expired" ], "type": "string" } }, "required": [], "type": "object" }, "name": "list_bounties", "outputSchema": null }, { "description": "List all capability types registered on the network (FDM, SLA, CNC, HPLC, etc.) with metadata.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "list_capability_types", "outputSchema": null }, { "description": "List agent-to-agent conversations showing topic, participants, message count, and status.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "list_conversations", "outputSchema": null }, { "description": "List escrow contracts with milestones and bonds. Optionally filter by status.", "inputSchema": { "properties": { "status": { "description": "Filter by escrow status", "type": "string" } }, "required": [], "type": "object" }, "name": "list_escrows", "outputSchema": null }, { "description": "List encrypted evidence bundles stored in the gateway.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "list_evidence", "outputSchema": null }, { "description": "List all evidence access grants for an address. Returns bundles the address has been granted access to.", "inputSchema": { "properties": { "address": { "description": "EVM address to look up grants for (0x...)", "type": "string" } }, "required": [ "address" ], "type": "object" }, "name": "list_evidence_grants", "outputSchema": null }, { "description": "List all jobs with status. Optionally filter by kernelId or status.", "inputSchema": { "properties": { "kernelId": { "description": "Filter by kernel ID", "type": "string" }, "status": { "description": "Filter by status (pending, queued, in_progress, paused, completed, failed, cancelled)", "type": "string" } }, "required": [], "type": "object" }, "name": "list_jobs", "outputSchema": null }, { "description": "List all Shop Kernels on the network with status and capability types. Optionally filter by status.", "inputSchema": { "properties": { "status": { "description": "Filter by kernel status (online, offline, maintenance)", "type": "string" } }, "required": [], "type": "object" }, "name": "list_kernels", "outputSchema": null }, { "description": "List every channel attached to an operator. Returns the full channel records (id, transport, direction, endpoint, describe, enabled flags). Useful for an operator's onboarding agent to confirm what is wired up, and for status dashboards.", "inputSchema": { "properties": { "slug": { "description": "Operator slug.", "type": "string" } }, "required": [ "slug" ], "type": "object" }, "name": "list_operator_channels", "outputSchema": null }, { "description": "List all investment pools. Optionally filter by status or capability type.", "inputSchema": { "properties": { "capabilityType": { "description": "Filter by capability type", "type": "string" }, "status": { "description": "Filter by pool status", "enum": [ "open", "funded", "active", "sunset", "cancelled" ], "type": "string" } }, "required": [], "type": "object" }, "name": "list_pools", "outputSchema": null }, { "description": "List protocol runs. Filter by status or kernelId.", "inputSchema": { "properties": { "kernelId": { "description": "Filter by kernel ID", "type": "string" }, "status": { "description": "Filter by run status", "enum": [ "binding", "ready", "running", "paused", "completed", "cancelled", "failed" ], "type": "string" } }, "required": [], "type": "object" }, "name": "list_protocol_runs", "outputSchema": null }, { "description": "List protocol templates in the library. Filter by tags, required capabilities, search query, or status.", "inputSchema": { "properties": { "capabilities": { "description": "Comma-separated required capability filter (e.g. 'hplc,centrifuge')", "type": "string" }, "search": { "description": "Full-text search query", "type": "string" }, "status": { "description": "Filter by template status", "enum": [ "draft", "published", "archived" ], "type": "string" }, "tags": { "description": "Comma-separated tag filter (e.g. 'biotech,protein')", "type": "string" } }, "required": [], "type": "object" }, "name": "list_protocols", "outputSchema": null }, { "description": "List all machine registrations on the network. See pending, approved, active, and rejected registrations. Public endpoint — no auth required.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "list_registrations", "outputSchema": null }, { "description": "List all transfer agents (robots and human operators) available for instrument-to-instrument transfers.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "list_transfer_agents", "outputSchema": null }, { "description": "Decrypt a Lit Protocol-encrypted evidence bundle using a Lit auth signature. Returns the decrypted bundle payload.", "inputSchema": { "properties": { "authSig": { "description": "Lit auth signature object with sig, derivedVia, signedMessage, and address fields", "properties": { "address": { "type": "string" }, "derivedVia": { "type": "string" }, "sig": { "type": "string" }, "signedMessage": { "type": "string" } }, "type": "object" }, "bundleId": { "description": "Evidence bundle ID (must be Lit-encrypted)", "type": "string" } }, "required": [ "bundleId", "authSig" ], "type": "object" }, "name": "lit_decrypt", "outputSchema": null }, { "description": "List all supplies and materials marketplace categories with the count of active listings in each. Categories cover the full spectrum of physical production inputs: raw metals, plastics, lab reagents, consumables, electronics, tooling, and more.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "marketplace_categories", "outputSchema": null }, { "description": "Create a new supplies/materials listing in the marketplace. Suppliers post available raw materials, lab reagents, tooling, or consumables for other operators to purchase.", "inputSchema": { "properties": { "category": { "description": "Category: raw-metals, plastics-polymers, lab-reagents, lab-consumables, electronics, chemicals, biologicals, tooling, packaging, calibration, safety, other", "type": "string" }, "description": { "description": "Detailed product description", "type": "string" }, "inStock": { "description": "Whether the item is currently available", "type": "boolean" }, "leadTimeDays": { "description": "Estimated lead time in business days", "type": "number" }, "location": { "description": "Supplier region or country", "type": "string" }, "maxOrder": { "description": "Maximum order quantity", "type": "number" }, "minOrder": { "description": "Minimum order quantity", "type": "number" }, "name": { "description": "Product name", "type": "string" }, "pricePerUnit": { "description": "Price per unit in USDC", "type": "number" }, "sellerId": { "description": "Supplier entity ID", "type": "string" }, "tags": { "description": "Search tags", "items": { "type": "string" }, "type": "array" }, "unit": { "description": "Unit of sale: kg, L, each, box, plate, etc.", "type": "string" } }, "required": [ "category", "name", "pricePerUnit", "unit" ], "type": "object" }, "name": "marketplace_create_listing", "outputSchema": null }, { "description": "Remove a supplies/materials listing from the marketplace. The listing is immediately hidden from search results.", "inputSchema": { "properties": { "id": { "description": "Listing ID to remove", "type": "string" } }, "required": [ "id" ], "type": "object" }, "name": "marketplace_delete_listing", "outputSchema": null }, { "description": "Get full details of a specific supplies/materials marketplace listing by ID. Returns pricing, availability, lead time, location, and tags.", "inputSchema": { "properties": { "id": { "description": "Listing ID (e.g. 'lst-al6061-bar')", "type": "string" } }, "required": [ "id" ], "type": "object" }, "name": "marketplace_get_listing", "outputSchema": null }, { "description": "Get details of a specific supply order including the associated listing details, quantity, total price, status, and optional escrow address.", "inputSchema": { "properties": { "id": { "description": "Order ID (e.g. 'ord-demo-001')", "type": "string" } }, "required": [ "id" ], "type": "object" }, "name": "marketplace_get_order", "outputSchema": null }, { "description": "Search and filter supplies/materials marketplace listings. Operators buy raw materials here to fulfill capability contracts. Filter by category, in-stock status, location, or free-text query.", "inputSchema": { "properties": { "category": { "description": "Filter by category: raw-metals, plastics-polymers, lab-reagents, lab-consumables, electronics, chemicals, biologicals, tooling, packaging, calibration, safety, other", "type": "string" }, "inStock": { "description": "Filter to only in-stock listings", "enum": [ "true", "false" ], "type": "string" }, "location": { "description": "Filter by region (e.g. 'US-Midwest', 'EU-West', 'Asia-Pacific')", "type": "string" }, "query": { "description": "Full-text search across name, description, and tags", "type": "string" } }, "required": [], "type": "object" }, "name": "marketplace_list_listings", "outputSchema": null }, { "description": "List marketplace supply orders. Filter by buyerId, sellerId, or status. Returns order history with pricing and status.", "inputSchema": { "properties": { "buyerId": { "description": "Filter to orders placed by this buyer", "type": "string" }, "sellerId": { "description": "Filter to orders received by this seller", "type": "string" }, "status": { "description": "Filter by order status", "enum": [ "pending", "confirmed", "shipped", "delivered", "cancelled" ], "type": "string" } }, "required": [], "type": "object" }, "name": "marketplace_list_orders", "outputSchema": null }, { "description": "Place a purchase order for supplies or materials. Calculates total price automatically (quantity × pricePerUnit). Returns an order with 'pending' status. Optionally links to an on-chain escrow for trustless settlement.", "inputSchema": { "properties": { "buyerId": { "description": "Buyer entity ID (operator kernel ID, etc.)", "type": "string" }, "escrowAddress": { "description": "Optional on-chain escrow address for trustless settlement", "type": "string" }, "listingId": { "description": "Listing ID to order from", "type": "string" }, "quantity": { "description": "Quantity to order (must meet listing minOrder/maxOrder)", "type": "number" } }, "required": [ "listingId", "quantity" ], "type": "object" }, "name": "marketplace_place_order", "outputSchema": null }, { "description": "Update an existing supplies/materials listing (price, stock status, description, etc.). Pass only the fields you want to change.", "inputSchema": { "properties": { "description": { "description": "Updated description", "type": "string" }, "id": { "description": "Listing ID to update", "type": "string" }, "inStock": { "description": "Stock availability", "type": "boolean" }, "leadTimeDays": { "description": "Updated lead time in days", "type": "number" }, "pricePerUnit": { "description": "New price per unit in USDC", "type": "number" }, "tags": { "description": "Updated search tags", "items": { "type": "string" }, "type": "array" } }, "required": [ "id" ], "type": "object" }, "name": "marketplace_update_listing", "outputSchema": null }, { "description": "Find hosting spaces that match specific machine requirements (voltage, area, etc.). Returns scored matches.", "inputSchema": { "properties": { "minArea": { "description": "Minimum floor area in square feet", "type": "number" }, "voltage": { "description": "Required voltage (e.g. 208, 480)", "type": "number" } }, "required": [], "type": "object" }, "name": "match_spaces", "outputSchema": null }, { "description": "Mint a soulbound capability certificate (cNFT via Metaplex Core) for a kernel. Proves a verified capability on-chain as an immutable credential. Step 5 of onboarding.", "inputSchema": { "properties": { "assuranceTier": { "description": "Assurance tier (0-3)", "type": "number" }, "capabilityType": { "description": "Capability type (e.g. fdm, cnc-3axis, hplc)", "type": "string" }, "kernelDid": { "description": "DID of the kernel (e.g. did:pcc:kernel:biolab-01)", "type": "string" }, "metadata": { "description": "Additional metadata (tolerances, materials, calibration proof CID)", "type": "object" } }, "required": [ "kernelDid", "capabilityType" ], "type": "object" }, "name": "mint_certificate", "outputSchema": null }, { "description": "Submit a cross-chain payment intent to the NEAR 1Click solver network. Creates a signed intent that routes the payment atomically across chains. Call near_quote first to obtain a quoteId. Intents typically settle within 30-60 seconds — poll near_intent_status to track progress.", "inputSchema": { "properties": { "quoteId": { "description": "Quote ID returned from near_quote", "type": "string" }, "recipient": { "description": "Recipient address on the destination chain (optional)", "type": "string" }, "workflowId": { "description": "PCC workflow or job ID this payment is for", "type": "string" } }, "required": [ "quoteId", "workflowId" ], "type": "object" }, "name": "near_intent", "outputSchema": null }, { "description": "Check the settlement status of a submitted NEAR 1Click cross-chain payment intent. Statuses progress: pending → submitted → settled | failed. Returns txHash and explorerUrl when settled.", "inputSchema": { "properties": { "intentId": { "description": "Intent ID returned from near_intent", "type": "string" } }, "required": [ "intentId" ], "type": "object" }, "name": "near_intent_status", "outputSchema": null }, { "description": "Get a cross-chain payment quote from the NEAR 1Click solver network (chaindefuser.com). Provides optimal routing and fee estimates for funding PCC escrow contracts using any source asset on any supported chain. Call near_status first to confirm available chains/assets.", "inputSchema": { "properties": { "amount": { "description": "Amount as an integer string in the smallest denomination (e.g. '1000000' for 1 USDC with 6 decimals)", "type": "string" }, "fromAsset": { "description": "Source asset symbol (e.g. 'USDC', 'ETH', 'NEAR')", "type": "string" }, "fromChain": { "description": "Source chain (e.g. 'eth', 'base', 'near', 'arbitrum')", "type": "string" }, "recipient": { "description": "Recipient address on the destination chain (optional)", "type": "string" }, "toAsset": { "description": "Destination asset symbol (e.g. 'USDC')", "type": "string" }, "toChain": { "description": "Destination chain (e.g. 'base', 'eth')", "type": "string" } }, "required": [ "fromChain", "fromAsset", "toChain", "toAsset", "amount" ], "type": "object" }, "name": "near_quote", "outputSchema": null }, { "description": "Get NEAR Protocol chain-abstraction integration status. Returns supported chains (near, eth, base, arbitrum, optimism, polygon), supported assets (USDC, USDT, NEAR, ETH, WBTC), and capability flags. Use this to confirm cross-chain settlement is available before requesting quotes.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "near_status", "outputSchema": null }, { "description": "Register a new machine on the PCC network. Provide machine details to create a registration record. Include `operator` ({walletAddress, displayName, email}): without it the registration is recorded as operator 0x0000000000000000000000000000000000000000 / \"Unknown\", and prove cannot match it to you.", "inputSchema": { "properties": { "capabilities": { "description": "Array of capability objects", "items": { "type": "object" }, "type": "array" }, "category": { "description": "Machine category (e.g. fdm, cnc, laser-cut, hplc)", "type": "string" }, "description": { "description": "Machine description", "type": "string" }, "manufacturer": { "description": "Manufacturer name", "type": "string" }, "model": { "description": "Model identifier", "type": "string" }, "name": { "description": "Machine name", "type": "string" }, "operator": { "description": "Who owns this machine. prove and activate match the caller against operator.walletAddress (or operator.email).", "properties": { "displayName": { "type": "string" }, "email": { "type": "string" }, "walletAddress": { "description": "0x… address", "type": "string" } }, "type": "object" } }, "required": [ "name", "category" ], "type": "object" }, "name": "onboard_machine", "outputSchema": null }, { "description": "Operator sends heartbeat with capability re-announcement. Keeps the kernel alive on the network and updates available capabilities.", "inputSchema": { "properties": { "capabilities": { "items": { "type": "object" }, "type": "array" }, "kernelId": { "type": "string" } }, "required": [ "kernelId" ], "type": "object" }, "name": "operator_heartbeat", "outputSchema": null }, { "description": "Operator polls for pending jobs assigned to their kernel. Returns queued jobs ready for execution. The pcc-node 0.1.1 daemon does not call it: it takes no jobs.", "inputSchema": { "properties": { "kernelId": { "description": "Kernel ID to poll jobs for", "type": "string" } }, "required": [ "kernelId" ], "type": "object" }, "name": "operator_poll_jobs", "outputSchema": null }, { "description": "Operator pushes evidence bundle from a completed job execution. Contains device ID, execution timestamp, result payload, and event timeline. Success is a receipt with stored: true naming this jobId. HTTP 200 with stored: false means nothing was stored: never follow it with status completed.", "inputSchema": { "properties": { "evidence": { "type": "object" }, "jobId": { "type": "string" }, "kernelId": { "type": "string" } }, "required": [ "jobId", "kernelId", "evidence" ], "type": "object" }, "name": "operator_push_evidence", "outputSchema": null }, { "description": "Operator reports a job's status (in_progress, completed, failed). The node path finishes a job in two calls: submit its evidence (POST /api/operator/evidence; pcc-node does this), and only if that receipt says stored: true for this jobId, set status completed here. HTTP 200 alone is not enough: the relay answers 200 with stored: false when it could not store the evidence (an unknown job, a storage failure); then set failed with the reason evidence_not_stored. On the current gateway, completed marks the job done and its timeline then says settled, but the escrow is not released yet (board G1). Do not call pcc_job_complete after this: it answers 409.", "inputSchema": { "properties": { "jobId": { "type": "string" }, "kernelId": { "type": "string" }, "metadata": { "type": "object" }, "status": { "enum": [ "in_progress", "completed", "failed" ], "type": "string" } }, "required": [ "jobId", "kernelId", "status" ], "type": "object" }, "name": "operator_update_job_status", "outputSchema": null }, { "description": "Pause a running protocol run. Use resume_protocol_run to continue.", "inputSchema": { "properties": { "runId": { "description": "Protocol run ID to pause", "type": "string" } }, "required": [ "runId" ], "type": "object" }, "name": "pause_protocol_run", "outputSchema": null }, { "description": "Pay royalties to an IP asset vault. The payer sends tokens that flow to stakeholders via the royalty splits.", "inputSchema": { "properties": { "amount": { "description": "Amount to pay in wei (as string)", "type": "string" }, "ipId": { "description": "IP asset ID", "type": "string" }, "payerAddress": { "description": "EVM address of the payer", "type": "string" } }, "required": [ "ipId", "amount", "payerAddress" ], "type": "object" }, "name": "pay_ip_royalty", "outputSchema": null }, { "description": "Price a configured PCC capability (typed operation). Returns the itemized quote for the given capability type + selections. Pure calculation — no funds move and nothing is created. Maps to POST /api/build/price.", "inputSchema": { "additionalProperties": false, "properties": { "capabilityId": { "type": "string" }, "profileId": { "type": "string" }, "selections": { "description": "Parameter selections.", "type": "object" }, "type": { "description": "Capability type, e.g. 'fdm'.", "type": "string" } }, "required": [ "type", "selections" ], "type": "object" }, "name": "pcc.op.capability.request_quote", "outputSchema": null }, { "description": "Assign an operator to a specific capability node within a request. The node status changes to 'assigned'. Operators claim nodes to indicate they will execute that capability.", "inputSchema": { "properties": { "nodeId": { "description": "Capability node ID", "type": "string" }, "operatorId": { "description": "Operator kernel ID or wallet address", "type": "string" }, "requestId": { "description": "Request ID", "type": "string" } }, "required": [ "requestId", "nodeId", "operatorId" ], "type": "object" }, "name": "pcc_assign_node_operator", "outputSchema": null }, { "description": "Get the latest camera frame from a kernel as a JSON snapshot (base64 JPEG + metadata). For raw JPEG image, use GET /api/ot2/camera/latest directly.", "inputSchema": { "properties": { "kernelId": { "description": "Kernel ID to get camera frame from", "type": "string" } }, "required": [ "kernelId" ], "type": "object" }, "name": "pcc_camera_latest", "outputSchema": null }, { "description": "Cancel a capability request. Cancelled requests cannot be updated, decomposed, or published. This is a soft delete — the request remains visible with status 'cancelled'.", "inputSchema": { "properties": { "requestId": { "description": "Request ID to cancel", "type": "string" } }, "required": [ "requestId" ], "type": "object" }, "name": "pcc_cancel_request", "outputSchema": null }, { "description": "Anchor a PASS + anchor-candidate capture verdict to CaptureClassRegistry on-chain (Base Sepolia by default). Rejects FAIL/PARTIAL verdicts. Idempotent — re-submitting the same verdictId returns the existing anchor row. Returns 202 {status:'deferred'} if CaptureClassRegistry is not yet deployed (CAPTURE_REGISTRY_ADDRESS unset).", "inputSchema": { "properties": { "verdictId": { "description": "The verdictId returned by pcc_capture_upload. Must be a PASS verdict with anchorCandidate=true.", "type": "string" } }, "required": [ "verdictId" ], "type": "object" }, "name": "pcc_capture_anchor", "outputSchema": null }, { "description": "Issue a fresh block-anchored CaptureNonceChallenge for a job. The operator's device must render this nonce into the captured media (QR code, audio tone, etc.) before calling pcc_capture_upload. The nonce is derived from (challengeId, latest blockHash, workOutputRoot) so captures cannot be pre-computed. Returns challengeId, 64-char hex nonce, blockNumber, maxAgeSeconds (clamped to 120).", "inputSchema": { "properties": { "declaredClass": { "description": "Capture class the operator plans to claim. Determines which gates the verifier will run.", "enum": [ "CC0", "CC1", "CC2", "CC3", "CC4", "CC5" ], "type": "string" }, "jobId": { "description": "PCC job ID the capture belongs to", "type": "string" }, "requestedTtlSeconds": { "description": "Requested challenge lifetime in seconds. Clamped to 120 server-side.", "type": "integer" } }, "required": [ "jobId", "declaredClass" ], "type": "object" }, "name": "pcc_capture_challenge", "outputSchema": null }, { "description": "Look up a capture's on-chain anchor record in CaptureClassRegistry by its 32-byte captureHash. Returns the registry address, captureHash, and decoded anchor tuple (declaredClass, verifiedClass, manifestHash, submittedBy, jobId, challengeId, blockAnchor, capturedAt, attestationsRoot, attesterCount). onchain is null if the capture was never anchored. Returns 202 deferred when CaptureClassRegistry is not yet deployed.", "inputSchema": { "properties": { "captureHash": { "description": "Capture hash (32-byte). Accepts 0x-prefixed or unprefixed hex, or sha256:<hex> format. Padded server-side to bytes32.", "type": "string" } }, "required": [ "captureHash" ], "type": "object" }, "name": "pcc_capture_class_registry", "outputSchema": null }, { "description": "Fetch the combined verdict + on-chain anchor view for a single capture. Mirrors the verifier's DB shape plus the anchor tx metadata (txHash, blockNumber, gasUsed, explorerUrl). Anchor is null if the verdict was never anchored.", "inputSchema": { "properties": { "verdictId": { "description": "Capture verdict UUID (from pcc_capture_upload).", "type": "string" } }, "required": [ "verdictId" ], "type": "object" }, "name": "pcc_capture_status", "outputSchema": null }, { "description": "Upload a capture (photo / video / audio / sensor clip) with its CaptureManifest for G1..G6 verification. Bytes are base64-encoded inline; optional base64 C2PA manifest bytes can be supplied for CC3+ claims. The server runs the 6-gate CaptureVerifier and persists a PASS/PARTIAL/FAIL verdict. Returns {verdictId, verdict, verifiedClass, gatesPassed, gatesFailed, warnings, anchorCandidate, captureHash, manifestHash}.", "inputSchema": { "properties": { "c2paManifestBase64": { "description": "Optional base64-encoded C2PA manifest JUMBF bytes. Required when manifest.class >= CC3.", "type": "string" }, "captureBytesBase64": { "description": "Base64-encoded capture bytes (image / video / audio / sensor clip). Hash must match manifest.mediaHash.", "type": "string" }, "challengeId": { "description": "Challenge UUID to re-bind to the in-memory challenge cache (G3 freshness gate).", "type": "string" }, "jobId": { "description": "Job ID for telemetry binding. Falls back to manifest.jobId if omitted.", "type": "string" }, "manifest": { "description": "CaptureManifest — ALCOA+-ready metadata: class, declaredAt (ISO-8601), deviceFingerprint, mediaHash (sha256:<hex>), optional challengeId. See CaptureManifestSchema in @pcc/spec.", "type": "object" }, "operatorId": { "description": "Explicit operator ID. Falls back to the authenticated session userId.", "type": "string" }, "submittedAt": { "description": "Client-submitted timestamp (epoch ms). Used in drift detection.", "type": "integer" }, "visualNonceEcho": { "description": "The visual nonce value the operator rendered in-scene (QR payload, audio tone id, etc.).", "type": "string" } }, "required": [ "manifest", "captureBytesBase64" ], "type": "object" }, "name": "pcc_capture_upload", "outputSchema": null }, { "description": "Get chat history with a kernel. Returns messages between agents, operators, and users for a specific kernel.", "inputSchema": { "properties": { "kernelId": { "description": "Kernel ID to get chat history for", "type": "string" }, "limit": { "description": "Maximum messages to return (default 50)", "type": "number" } }, "required": [ "kernelId" ], "type": "object" }, "name": "pcc_chat_history", "outputSchema": null }, { "description": "Send a chat message to a kernel's operator or agent. Used for human-in-the-loop communication during job execution, troubleshooting, and escalation.", "inputSchema": { "properties": { "kernelId": { "description": "Kernel ID to send the message to", "type": "string" }, "message": { "description": "Message content", "type": "string" }, "role": { "description": "Sender role (default: user)", "enum": [ "user", "agent", "operator", "system" ], "type": "string" } }, "required": [ "kernelId", "message" ], "type": "object" }, "name": "pcc_chat_send", "outputSchema": null }, { "description": "List all contributor profiles for an address across roles. Returns an array of {id, address, role, scheduleHash, ipId, contributorNftTokenId, metadataUri, registeredAt}. Returns empty array when no profiles exist for the address.", "inputSchema": { "properties": { "address": { "description": "Wallet address (0x + 40 hex chars)", "type": "string" } }, "required": [ "address" ], "type": "object" }, "name": "pcc_contributor_list", "outputSchema": null }, { "description": "Register a contributor profile binding a wallet address to a role and a published RateSchedule. Body: address (0x40hex), role (10 ContributorRole values from ADR-12 §2.1 + legacy 'designer'), scheduleHash (0x64hex of a previously published schedule), optional ipId, metadataUri, contributorNftTokenId. Returns the persisted profile (composite id is address:role:tail). Idempotent on the composite id — re-posting the same (address, role, contributorNftTokenId) replaces the prior profile.", "inputSchema": { "properties": { "address": { "description": "Wallet address (0x + 40 hex chars)", "type": "string" }, "contributorNftTokenId": { "description": "Optional ContributorNFT tokenId once minted on-chain", "type": "string" }, "ipId": { "description": "Optional Story Protocol IP Asset ID", "type": "string" }, "metadataUri": { "description": "Optional ipfs:// or https:// URI", "type": "string" }, "role": { "description": "ContributorRole — 10 ADR-12 roles + deprecated 'designer'", "enum": [ "operator", "verifier", "insurer", "integrator", "protocol-author", "model-author", "dataset-contributor", "curator", "assembler", "network-treasury", "designer" ], "type": "string" }, "scheduleHash": { "description": "0x + 64 hex sha256 of a published RateSchedule", "type": "string" } }, "required": [ "address", "role", "scheduleHash" ], "type": "object" }, "name": "pcc_contributor_register", "outputSchema": null }, { "description": "Create an execution scope for a job. Scopes define exactly which tool calls are allowed on a kernel during a job, with command budgets, retry limits, and time-to-live. Required before issuing SCOPED WRITE operations (protocol upload, run create, run action).", "inputSchema": { "properties": { "allowedPipettes": { "description": "Which pipettes may be used (e.g. ['left'])", "items": { "type": "string" }, "type": "array" }, "allowedSlots": { "description": "Which deck slots may be accessed (e.g. [1, 2, 3, 9])", "items": { "type": "number" }, "type": "array" }, "allowedTools": { "description": "List of tool names allowed in this scope (e.g. ['ot2_protocol_upload', 'ot2_run_create', 'ot2_run_action'])", "items": { "type": "string" }, "type": "array" }, "jobId": { "description": "Job ID this scope is bound to (optional)", "type": "string" }, "kernelId": { "description": "Kernel ID to create the scope for", "type": "string" }, "maxCommands": { "description": "Maximum tool calls allowed in this scope (default 100)", "type": "number" }, "maxRetries": { "description": "Maximum retries allowed (default 3)", "type": "number" }, "protocolHash": { "description": "SHA-256 hash of the approved protocol content. If set, protocol uploads are hash-verified.", "type": "string" }, "ttlMinutes": { "description": "Scope duration in minutes (default 30)", "type": "number" } }, "required": [ "kernelId", "allowedTools" ], "type": "object" }, "name": "pcc_create_scope", "outputSchema": null }, { "description": "Re-trigger decomposition of an existing capability request. Overwrites the existing capability DAG with a fresh decomposition. Useful after updating the description or budget.", "inputSchema": { "properties": { "requestId": { "description": "Request ID to decompose", "type": "string" } }, "required": [ "requestId" ], "type": "object" }, "name": "pcc_decompose_request", "outputSchema": null }, { "description": "Announce capabilities to the DHT network. Signs the announcement with your node's Ed25519 key and broadcasts to connected peers.", "inputSchema": { "properties": { "capabilities": { "description": "Array of capability summaries to announce", "items": { "properties": { "materials": { "items": { "type": "string" }, "type": "array" }, "priceRange": { "properties": { "currency": { "type": "string" }, "max": { "type": "number" }, "min": { "type": "number" } }, "type": "object" }, "queueDepth": { "type": "number" }, "type": { "description": "Capability type", "type": "string" } }, "required": [ "type" ], "type": "object" }, "type": "array" }, "kernelId": { "description": "Kernel ID announcing capabilities", "type": "string" }, "ttlSeconds": { "description": "How long the announcement is valid (default 300)", "type": "number" } }, "required": [ "kernelId", "capabilities" ], "type": "object" }, "name": "pcc_dht_announce", "outputSchema": null }, { "description": "Get a snapshot of DHT telemetry counters and recent events. Returns message counts, peer connection stats, query/announce rates, and a list of the last 50 metric events. Use for monitoring network health.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "pcc_dht_metrics", "outputSchema": null }, { "description": "List known DHT peers and their connection status. Shows which nodes are currently connected to the gossip network.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "pcc_dht_peers", "outputSchema": null }, { "description": "Query the DHT for capabilities matching your requirements. Returns announcements from operators whose equipment matches the type, materials, and price range you specify.", "inputSchema": { "properties": { "limit": { "description": "Maximum results to return (default 10)", "type": "number" }, "materials": { "description": "Materials you need (matches if operator supports ANY of these)", "items": { "type": "string" }, "type": "array" }, "maxPrice": { "description": "Maximum price per job — matches operators whose min price is at or below this", "type": "number" }, "type": { "description": "Capability type to search for (e.g. 'fdm_print', 'liquid-handler', 'cnc-3axis')", "type": "string" } }, "required": [], "type": "object" }, "name": "pcc_dht_query", "outputSchema": null }, { "description": "Get a capability request by ID with the full decomposed DAG — all capability nodes, their dependencies, estimated costs/hours, assigned operators, and linked bounty IDs.", "inputSchema": { "properties": { "requestId": { "description": "Request ID", "type": "string" } }, "required": [ "requestId" ], "type": "object" }, "name": "pcc_get_request", "outputSchema": null }, { "description": "Get the critical path (longest dependency chain) for a capability request. The critical path determines the minimum calendar time to complete the request. Returns node IDs in order, the full node details, and total hours on the critical path.", "inputSchema": { "properties": { "requestId": { "description": "Request ID", "type": "string" } }, "required": [ "requestId" ], "type": "object" }, "name": "pcc_get_request_critical_path", "outputSchema": null }, { "description": "Get the capability DAG (directed acyclic graph) for a request as adjacency data — nodes with all fields plus explicit edges showing dependency relationships. Useful for visualization or workflow planning.", "inputSchema": { "properties": { "requestId": { "description": "Request ID", "type": "string" } }, "required": [ "requestId" ], "type": "object" }, "name": "pcc_get_request_dag", "outputSchema": null }, { "description": "Get the tool manifest for a kernel's device type. Lists all available tools with their safety classification (read, safe_control, scoped_write, privileged) and input schemas. Use to understand what tools are available before making tool calls.", "inputSchema": { "properties": { "kernelId": { "description": "Kernel ID", "type": "string" } }, "required": [ "kernelId" ], "type": "object" }, "name": "pcc_get_tool_manifest", "outputSchema": null }, { "description": "Get the result of a previously relayed tool call. Poll this endpoint until the executor has processed the call and posted results.", "inputSchema": { "properties": { "callId": { "description": "Tool call ID returned from pcc_relay_tool_call", "type": "string" } }, "required": [ "callId" ], "type": "object" }, "name": "pcc_get_tool_result", "outputSchema": null }, { "description": "Complete a job: gathers tool call audit trail from execution scopes, builds evidence bundle with SHA-256 hash, stores evidence, revokes scopes, and settles escrow (mock or real). This is how a job run through execution scopes is finished. A node that submitted its evidence and set status completed (operator_update_job_status) must not call it: it then answers 409 (\"Job already completed or completion in progress\").", "inputSchema": { "properties": { "jobId": { "description": "Job ID to complete", "type": "string" }, "message": { "description": "Completion message or notes", "type": "string" } }, "required": [ "jobId" ], "type": "object" }, "name": "pcc_job_complete", "outputSchema": null }, { "description": "Get a job's settlement status from its own escrow records: status (settled only when a settlement read confirms the release; reported_released when the milestone record says released but nothing confirms it; simulated for a mock escrow; awaiting_settlement, no_settlement_record, unknown or unavailable otherwise), settled, payout, paidAmount (confirmed releases only), reportedReleasedAmount, quotedAmount, currency (recorded or null), escrow, milestones, the negotiation session, notices and asOf.", "inputSchema": { "properties": { "jobId": { "description": "Job ID", "type": "string" } }, "required": [ "jobId" ], "type": "object" }, "name": "pcc_job_settlement", "outputSchema": null }, { "description": "List all capability requests with optional filtering. Shows status, decomposed DAG summary, estimated costs, and timelines.", "inputSchema": { "properties": { "requesterEmail": { "description": "Filter by requester email", "type": "string" }, "status": { "description": "Filter by status", "enum": [ "draft", "decomposing", "published", "in_progress", "completed", "cancelled" ], "type": "string" }, "urgency": { "description": "Filter by urgency", "enum": [ "standard", "rush", "emergency" ], "type": "string" } }, "required": [], "type": "object" }, "name": "pcc_list_requests", "outputSchema": null }, { "description": "List recent capture verdicts, newest first. Optionally filter by jobId. Default limit is 50, capped at 200 server-side. Returns {verdicts, count, limit, jobId}.", "inputSchema": { "properties": { "jobId": { "description": "Filter by job ID. Omit for all verdicts across jobs.", "type": "string" }, "limit": { "description": "Maximum rows returned (default 50, hard cap 200).", "type": "integer" } }, "required": [], "type": "object" }, "name": "pcc_list_verdicts", "outputSchema": null }, { "description": "Finalise a physical-operator onboarding session: registers the operator on PCC, mints a wallet, writes the SEO mirror, returns the publication payload (capabilities, operator_id, discovery_url). Idempotent — safe to retry inside the same session_id. Auth-required.", "inputSchema": { "properties": { "id": { "description": "Session id returned by pcc_onboard_session_start.", "type": "string" } }, "required": [ "id" ], "type": "object" }, "name": "pcc_onboard_session_build_agent", "outputSchema": null }, { "description": "Queue documents (datasheets, SOPs, MOPs, certifications) for ingestion into a physical-operator onboarding session. Document URLs may be local:// for files dropped in the chat console or full https:// URLs. Auth-required.", "inputSchema": { "properties": { "doc_urls": { "description": "URLs of documents to ingest. Mix of local:// and https:// is fine.", "items": { "type": "string" }, "type": "array" }, "id": { "description": "Session id returned by pcc_onboard_session_start.", "type": "string" } }, "required": [ "id", "doc_urls" ], "type": "object" }, "name": "pcc_onboard_session_ingest_docs", "outputSchema": null }, { "description": "Full event log for a physical-operator onboarding session — feeds the chat console's activity sidebar. Supports incremental polling via ?since=<unix-millis>. Returns the next cursor on every response. Auth-required.", "inputSchema": { "properties": { "id": { "description": "Session id returned by pcc_onboard_session_start.", "type": "string" }, "since": { "description": "Unix milliseconds cursor — returns only events with t > since. Use the 'cursor' field of the previous response for incremental polling.", "type": "number" } }, "required": [ "id" ], "type": "object" }, "name": "pcc_onboard_session_live_data", "outputSchema": null }, { "description": "Scrape a URL into the running physical-operator onboarding session. Triggers a stealth fetch + structured extraction (machines, hours, services, certifications). Returns a small JSON summary; full extraction is appended to the session's running profile and visible via /live-data. Auth-required.", "inputSchema": { "properties": { "id": { "description": "Session id returned by pcc_onboard_session_start.", "type": "string" }, "url": { "description": "URL to scrape (e.g. company About page).", "type": "string" } }, "required": [ "id", "url" ], "type": "object" }, "name": "pcc_onboard_session_scrape", "outputSchema": null }, { "description": "Start a new physical-operator onboarding session. Returns a session_id used by every subsequent /api/onboard/* call. Auth-required.", "inputSchema": { "properties": { "name": { "description": "Operator / company name (e.g. 'Oakland Titanium Mills').", "type": "string" }, "url": { "description": "Optional company website. If supplied, the orchestrator scrapes it on the next /scrape call.", "type": "string" } }, "required": [ "name" ], "type": "object" }, "name": "pcc_onboard_session_start", "outputSchema": null }, { "description": "Coarse status snapshot for a physical-operator onboarding session: current state, 0-100 progress, scraped_count, ingested_count, last_event, publication payload (if built). Cheap — designed for polling from the chat header. Auth-required.", "inputSchema": { "properties": { "id": { "description": "Session id returned by pcc_onboard_session_start.", "type": "string" } }, "required": [ "id" ], "type": "object" }, "name": "pcc_onboard_session_status", "outputSchema": null }, { "description": "Not served by the PCC gateway: GET /api/oracle/health returns 404 there. PCC's verification oracle runs as a separate service, and this route answers only where a deployment fronts it. Agents never call the oracle to settle a job: settlement is the gateway's step after pcc_job_complete. Where it is served, it returns the oracle's EIP-712 signing address and chain ID.", "inputSchema": { "properties": {}, "type": "object" }, "name": "pcc_oracle_status", "outputSchema": null }, { "description": "Not served by the PCC gateway: POST /api/oracle/verify returns 404 there. PCC's verification oracle runs as a separate service, and this route answers only where a deployment fronts it. Agents never call it to settle a job: settlement is the gateway's step after pcc_job_complete. Where it is served, it checks that the evidence exists, its hash matches, tier requirements are met, there is no replay and the operator identity is valid, and it returns a signed EIP-712 attestation.", "inputSchema": { "properties": { "assuranceTier": { "description": "Evidence tier (0=none, 1=basic, 2=full, 3=ZK)", "enum": [ 0, 1, 2, 3 ], "type": "integer" }, "escrowAddress": { "description": "Escrow contract address", "type": "string" }, "evidenceHash": { "description": "SHA-256 hash of evidence bundle", "type": "string" }, "jobId": { "description": "PCC job ID", "type": "string" }, "kernelId": { "description": "Operator kernel ID", "type": "string" } }, "required": [ "escrowAddress", "jobId", "kernelId", "evidenceHash" ], "type": "object" }, "name": "pcc_oracle_verify", "outputSchema": null }, { "description": "List the orchestrator templates the dashboard's chat console can drive. Each entry includes slug, display_name, description, produces_kind, capability_class (physical | digital), greeting, and api_base (the route prefix that serves the six session-driver routes for that template). Public — no auth required.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "pcc_orchestrator_list_templates", "outputSchema": null }, { "description": "Heuristic template matcher. Pass a free-text description of what you want to onboard (e.g. 'I run a CNC milling shop' or 'I have a Postgres database with a GraphQL endpoint') and the matcher returns all templates ranked by keyword score with a 'reason' string per match. Public — no auth required.", "inputSchema": { "properties": { "input": { "description": "Free-text description of what you want to onboard.", "type": "string" } }, "required": [ "input" ], "type": "object" }, "name": "pcc_orchestrator_match_capabilities", "outputSchema": null }, { "description": "Get the current protocol fee rate (2.35%, immutable) and fee recipient address. The fee is hardcoded in the PCCProtocol smart contract — no admin, no governance, no upgrade can change it.", "inputSchema": { "properties": {}, "type": "object" }, "name": "pcc_protocol_fee", "outputSchema": null }, { "description": "Publish all pending capability nodes in a request as bounties. Each node becomes a bidding opportunity for operators. Returns the list of created bounty IDs linked to each capability node.", "inputSchema": { "properties": { "requestId": { "description": "Request ID to publish", "type": "string" } }, "required": [ "requestId" ], "type": "object" }, "name": "pcc_publish_request", "outputSchema": null }, { "description": "Relay a tool call to any kernel's device executor via the generic relay (not OT-2 specific). Works with any device type. Safe tools (read/safe_control) don't need a scope. Scoped write tools require an active execution scope. Returns a call ID — poll pcc_get_tool_result for the response.", "inputSchema": { "properties": { "args": { "description": "Tool arguments", "type": "object" }, "kernelId": { "description": "Target kernel ID", "type": "string" }, "scopeId": { "description": "Execution scope ID (required for write operations)", "type": "string" }, "toolName": { "description": "Tool name from the device manifest", "type": "string" } }, "required": [ "kernelId", "toolName" ], "type": "object" }, "name": "pcc_relay_generic_tool_call", "outputSchema": null }, { "description": "Relay a tool call to a device executor. The brain (LLM) posts tool calls here; the executor (on the device) polls for them and executes locally. Used for the brain/executor split architecture.", "inputSchema": { "properties": { "kernelId": { "description": "Kernel ID of the target device", "type": "string" }, "scopeId": { "description": "Execution scope ID (required for SCOPED WRITE tools)", "type": "string" }, "toolArgs": { "description": "Arguments for the tool call", "type": "object" }, "toolName": { "description": "Tool to execute (e.g. 'ot2_health', 'ot2_run_create')", "type": "string" } }, "required": [ "kernelId", "toolName", "toolArgs" ], "type": "object" }, "name": "pcc_relay_tool_call", "outputSchema": null }, { "description": "Report a bug, friction, or dead-end you hit while using PCC. Call this the moment you get stuck and cannot recover: a 5xx (its response carries a `report_hint` with pre-filled fields), a 4xx you cannot fix from its message, the same step failing twice, or a misleading tool/description. PUBLIC — works before you provision an API key (cold agents are exactly who this is for). Persisted durably and reviewed by the PCC team. Report each distinct failure ONCE; never include an API key, token, or wallet secret. Rate-limited per IP.", "inputSchema": { "properties": { "agentId": { "description": "Which model/agent you are. Example: 'claude', 'gpt-4o', 'gemini'. Optional.", "type": "string" }, "detail": { "description": "Multi-line context: the full error body, what you tried, what you expected. Optional but recommended.", "maxLength": 20000, "type": "string" }, "endpoint": { "description": "The route you were on when you got stuck. From a 5xx `report_hint.send.endpoint`. Example: '/api/build/contract'.", "type": "string" }, "errorCode": { "description": "The machine error code from the response body, if any. From `report_hint.send.errorCode`.", "type": "string" }, "logs": { "description": "Optional but valuable: your last few steps as SUMMARIES (never full request/response bodies) — the sequence that led to the failure. Secrets are never allowed in a note.", "items": { "properties": { "method": { "description": "HTTP method, e.g. POST.", "type": "string" }, "note": { "description": "One line on what happened at this step.", "maxLength": 500, "type": "string" }, "path": { "description": "Route, e.g. /api/build/price.", "type": "string" }, "status": { "description": "HTTP status you got.", "type": "integer" }, "step": { "description": "1-based step index.", "type": "integer" } }, "type": "object" }, "maxItems": 20, "type": "array" }, "method": { "description": "The HTTP method you used. From `report_hint.send.method`. Example: 'POST'.", "type": "string" }, "severity": { "description": "How badly this blocked you. Optional.", "enum": [ "low", "medium", "high", "critical" ], "type": "string" }, "status": { "description": "The HTTP status you got. From `report_hint.send.status`. Example: 500.", "type": "integer" }, "summary": { "description": "1-line description of what you were doing and what went wrong. Example: 'POST /api/build/contract returned 500 with no hint about the missing field.'", "maxLength": 5000, "minLength": 4, "type": "string" }, "traceId": { "description": "Your journey ID — returned by provision_api_key and on every response as `x-pcc-trace-id` (also in a 5xx `report_hint.traceId`). Lets PCC replay your full run.", "type": "string" }, "type": { "description": "bug = something is broken/wrong; friction = it works but was confusing/harder than it should be; idea = a suggestion or missing capability. Defaults to bug.", "enum": [ "bug", "friction", "idea" ], "type": "string" } }, "required": [ "summary" ], "type": "object" }, "name": "pcc_report", "outputSchema": null }, { "description": "Report one phase of an onboarding attempt, success or failure (attempt reporting contract v1). Send one report when each runbook phase ends, and a final report with phase \"session\" (with the `phases` roll-up), also when you stop early (outcome abandoned or budget_stop). Generate `sessionId` (UUID v4) once per attempt and increment `seq` with every report; a retried report with the same sessionId and seq is collapsed. Never guess: send null for what you do not know (tokens: source \"unknown\"). Redact keys, tokens, emails and wallet secrets before sending. Always include `summary`: contract v1 makes it optional, but until the gateway's attempt support lands it is the only field kept, and today's server refuses a report without it. The schema is contract v1: an unknown phase, outcome or harness name is accepted (the server stores it as other or unknown, with the raw value as a label), and budget-stop is a spelling of budget_stop. Never send a transcript; consent.transcript stays false until the operator decides. Unauthenticated.", "inputSchema": { "additionalProperties": false, "if": { "properties": { "phase": { "not": { "const": "session" } } } }, "properties": { "consent": { "additionalProperties": false, "properties": { "transcript": { "enum": [ false ], "type": "boolean" } }, "type": [ "object", "null" ] }, "contract": { "enum": [ 1 ], "type": "integer" }, "detail": { "maxLength": 20000, "type": [ "string", "null" ] }, "device": { "additionalProperties": false, "properties": { "class": { "enum": [ "lab_instrument", "robot", "printer", "process_agent", "other", null ], "type": [ "string", "null" ] }, "make": { "maxLength": 128, "type": [ "string", "null" ] }, "model": { "maxLength": 128, "type": [ "string", "null" ] } }, "type": [ "object", "null" ] }, "durationMs": { "description": "The phase's wall time; on session, the whole attempt", "maximum": 86400000, "minimum": 0, "type": [ "integer", "null" ] }, "env": { "additionalProperties": false, "properties": { "os": { "maxLength": 64, "type": [ "string", "null" ] }, "pccNode": { "maxLength": 64, "type": [ "string", "null" ] }, "python": { "maxLength": 64, "type": [ "string", "null" ] } }, "type": [ "object", "null" ] }, "harness": { "additionalProperties": false, "properties": { "label": { "maxLength": 128, "type": [ "string", "null" ] }, "model": { "maxLength": 128, "type": [ "string", "null" ] }, "name": { "anyOf": [ { "enum": [ "claude-code", "codex", "pcc-hosted", "other" ], "type": "string" }, { "description": "Any other name: the server stores \"other\", with the raw name as label.", "minLength": 1, "type": "string" }, { "type": "null" } ] }, "version": { "maxLength": 128, "type": [ "string", "null" ] } }, "type": [ "object", "null" ] }, "ids": { "additionalProperties": false, "description": "Only the ids known so far: each at most 200 characters of [A-Za-z0-9:._/-], or null", "properties": { "capabilityId": { "maxLength": 200, "pattern": "^[A-Za-z0-9:._/-]+$", "type": [ "string", "null" ] }, "jobId": { "maxLength": 200, "pattern": "^[A-Za-z0-9:._/-]+$", "type": [ "string", "null" ] }, "kernelId": { "maxLength": 200, "pattern": "^[A-Za-z0-9:._/-]+$", "type": [ "string", "null" ] }, "kitId": { "maxLength": 200, "pattern": "^[A-Za-z0-9:._/-]+$", "type": [ "string", "null" ] } }, "type": [ "object", "null" ] }, "kind": { "enum": [ "attempt" ], "type": "string" }, "logs": { "description": "The phase's step timeline, summaries only", "items": { "additionalProperties": false, "properties": { "method": { "type": [ "string", "null" ] }, "note": { "type": [ "string", "null" ] }, "path": { "type": [ "string", "null" ] }, "status": { "type": [ "integer", "null" ] }, "step": { "minimum": 0, "type": [ "integer", "null" ] } }, "type": "object" }, "maxItems": 20, "type": [ "array", "null" ] }, "outcome": { "anyOf": [ { "enum": [ "ok", "failed", "blocked", "skipped", "budget_stop", "abandoned", "in_progress", "budget-stop" ], "type": "string" }, { "description": "Any other value: the server stores \"unknown\", with the raw value as outcomeLabel.", "minLength": 1, "type": "string" } ] }, "pack": { "additionalProperties": false, "properties": { "digest": { "description": "sha256:<64 hex> of this package's bytes", "pattern": "^sha256:[0-9a-f]{64}$", "type": [ "string", "null" ] }, "version": { "maxLength": 64, "type": [ "string", "null" ] } }, "type": [ "object", "null" ] }, "phase": { "anyOf": [ { "enum": [ "prerequisites", "identify", "intake", "research", "build", "register", "verify", "operate", "publish", "session" ], "type": "string" }, { "description": "Any other value: the server stores \"other\", with the raw value (clamped to 64 characters) as phaseLabel.", "minLength": 1, "type": "string" } ] }, "phases": { "description": "Only on phase \"session\": the roll-up", "items": { "additionalProperties": false, "properties": { "durationMs": { "maximum": 86400000, "minimum": 0, "type": [ "integer", "null" ] }, "outcome": { "anyOf": [ { "enum": [ "ok", "failed", "blocked", "skipped", "budget_stop", "abandoned", "in_progress", "budget-stop" ], "type": "string" }, { "description": "Any other value: the server stores \"unknown\", with the raw value as outcomeLabel.", "minLength": 1, "type": "string" }, { "type": "null" } ] }, "phase": { "anyOf": [ { "enum": [ "prerequisites", "identify", "intake", "research", "build", "register", "verify", "operate", "publish", "session" ], "type": "string" }, { "description": "Any other value: the server stores \"other\", with the raw value (clamped to 64 characters) as phaseLabel.", "minLength": 1, "type": "string" }, { "type": "null" } ] } }, "required": [ "phase", "outcome" ], "type": "object" }, "maxItems": 16, "type": [ "array", "null" ] }, "proposal": { "additionalProperties": false, "description": "One improvement idea", "properties": { "path": { "description": "No query string", "maxLength": 2000, "pattern": "^[^?]*$", "type": [ "string", "null" ] }, "target": { "enum": [ "runbook", "agent-package", "docs", "code", "process", "other", null ], "type": [ "string", "null" ] }, "text": { "maxLength": 5000, "type": [ "string", "null" ] } }, "type": [ "object", "null" ] }, "seq": { "description": "Per-session report counter", "maximum": 10000, "minimum": 0, "type": "integer" }, "sessionId": { "description": "UUID v4, generated once at the start of the attempt", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$", "type": "string" }, "summary": { "description": "One line, e.g. \"register: failed, POST /api/kernels 400\"", "maxLength": 5000, "type": [ "string", "null" ] }, "tokens": { "additionalProperties": false, "description": "Never guess: send null with source \"unknown\"", "properties": { "in": { "minimum": 0, "type": [ "integer", "null" ] }, "out": { "minimum": 0, "type": [ "integer", "null" ] }, "source": { "enum": [ "self_reported", "harness", "metered", "unknown", null ], "type": [ "string", "null" ] } }, "type": [ "object", "null" ] }, "traceId": { "description": "x-pcc-trace-id of the last PCC call", "maxLength": 200, "type": [ "string", "null" ] } }, "required": [ "kind", "sessionId", "seq", "phase", "outcome" ], "then": { "not": { "required": [ "phases" ] } }, "type": "object" }, "name": "pcc_report_attempt", "outputSchema": null }, { "description": "Revoke an execution scope immediately (emergency stop). All pending tool calls under this scope are rejected. The kernel enters a stopped state. A new scope must be created to resume.", "inputSchema": { "properties": { "scopeId": { "description": "Scope ID to revoke", "type": "string" } }, "required": [ "scopeId" ], "type": "object" }, "name": "pcc_revoke_scope", "outputSchema": null }, { "description": "Evaluate a published RateSchedule at a moment, returning the effective bps. Inputs: scheduleHash + now (unix seconds) + optional jobValueCents (piecewise-value) + optional jobsPerDay (adoption-indexed). Returns {scheduleHash, bps, segmentKind, segmentIndex}. segmentIndex=-1 + bps=0 when no segment covers the moment (silent gap).", "inputSchema": { "properties": { "jobValueCents": { "description": "Job value in cents (piecewise-value segments)", "minimum": 0, "type": "integer" }, "jobsPerDay": { "description": "Rolling 24h job count (adoption-indexed segments)", "minimum": 0, "type": "number" }, "now": { "description": "Unix seconds at evaluation moment", "minimum": 0, "type": "integer" }, "scheduleHash": { "description": "0x + 64 hex schedule hash", "type": "string" } }, "required": [ "scheduleHash", "now" ], "type": "object" }, "name": "pcc_schedule_evaluate", "outputSchema": null }, { "description": "Fetch a published RateSchedule by its content hash. Returns {schedule, publishedBy} with segments re-validated via Zod, or 404 if not found.", "inputSchema": { "properties": { "scheduleHash": { "description": "0x + 64 hex sha256 of the schedule", "type": "string" } }, "required": [ "scheduleHash" ], "type": "object" }, "name": "pcc_schedule_get", "outputSchema": null }, { "description": "Publish a sealed off-chain RateSchedule. Computes scheduleHash server-side via the canonical sha256-over-canonical-JSON algorithm (matching the on-chain RateScheduleRegistry.publish() invariant). Idempotent: re-publishing the same content returns alreadyPublished:true. Returns {scheduleHash, alreadyPublished}.", "inputSchema": { "properties": { "publishedBy": { "description": "Address that publishes (0x + 40 hex chars)", "type": "string" }, "schedule": { "description": "RateSchedule body — version, segments (constant/step/linear-decay/exponential-decay/adoption-indexed/piecewise-value), and optional notes", "properties": { "notes": { "type": "string" }, "segments": { "items": { "type": "object" }, "minItems": 1, "type": "array" }, "version": { "minimum": 1, "type": "integer" } }, "required": [ "version", "segments" ], "type": "object" } }, "required": [ "publishedBy", "schedule" ], "type": "object" }, "name": "pcc_schedule_publish", "outputSchema": null }, { "description": "Get the audit trail for an execution scope — every tool call made under this scope, with validation results, timestamps, and outcomes.", "inputSchema": { "properties": { "scopeId": { "description": "Scope ID to audit", "type": "string" } }, "required": [ "scopeId" ], "type": "object" }, "name": "pcc_scope_audit", "outputSchema": null }, { "description": "Fast-track paid job: one call from DHT discovery to funded escrow + active scope. Auto-negotiates, quotes, creates escrow with milestones, creates execution scope. Returns jobId, scopeId, escrowId, quote with pricing adjustments, contract terms. For testnet, escrow is mock-funded automatically.", "inputSchema": { "properties": { "capabilityType": { "description": "e.g. 'liquid-handler', 'fdm', 'cnc-3axis'", "type": "string" }, "kernelId": { "description": "Target kernel ID (from DHT query)", "type": "string" }, "parameters": { "description": "Job parameters (protocolType, volume, materials, etc.)", "type": "object" }, "paymentMethod": { "description": "Payment method (testnet-mock for demo)", "enum": [ "escrow", "testnet-mock" ], "type": "string" }, "userAgentId": { "description": "Your agent/user ID", "type": "string" } }, "required": [ "kernelId", "capabilityType", "userAgentId" ], "type": "object" }, "name": "pcc_submit_paid_job", "outputSchema": null }, { "description": "Submit a high-level capability request in natural language. The system automatically decomposes it into a capability DAG with dependencies, timelines, and budget allocation across fabrication, design, assembly, electronics, software, logistics, and verification nodes. Returns the request with full decomposed DAG. Example: 'Build a cute animatronic plush desk robot with servo-driven animations'.", "inputSchema": { "properties": { "budget": { "description": "Total budget in USDC (default: 1000)", "type": "number" }, "currency": { "description": "Currency (default: USDC)", "type": "string" }, "deadline": { "description": "ISO 8601 deadline (default: 7 days from now)", "type": "string" }, "description": { "description": "Full natural language description of what needs to be built or done", "type": "string" }, "requesterEmail": { "description": "Requester email for notifications", "type": "string" }, "requesterWallet": { "description": "Requester wallet address for payments", "type": "string" }, "title": { "description": "Short title for the request", "type": "string" }, "urgency": { "description": "Urgency level — affects cost multipliers (emergency: 2x cost, 0.5x time)", "enum": [ "standard", "rush", "emergency" ], "type": "string" } }, "required": [ "title", "description" ], "type": "object" }, "name": "pcc_submit_request", "outputSchema": null }, { "description": "Fetch the TrainingManifest for a model IP. Returns the parsed datasets array + manifestHash + createdAt, or 404 if no manifest has been set.", "inputSchema": { "properties": { "modelIpId": { "description": "Story IP Asset ID for the model", "type": "string" } }, "required": [ "modelIpId" ], "type": "object" }, "name": "pcc_training_manifest_get", "outputSchema": null }, { "description": "Set (insert-or-replace) the TrainingManifest for a model IP — the dataset weight map the LicensingEngine walks when distributing payouts to a 'model-author' entry in a CompositionManifest. Dataset weightBps must sum to ≤ 10000 (gateway accepts partial mixes; on-chain enforces exact 10000). Returns {modelIpId, manifestHash}.", "inputSchema": { "properties": { "baseModelIpId": { "description": "Optional parent ModelNFT IP if this was fine-tuned", "type": "string" }, "datasetWeights": { "description": "DatasetIP entries with weightBps (sum ≤ 10000)", "items": { "properties": { "dataPointCount": { "minimum": 0, "type": "integer" }, "datasetIpId": { "type": "string" }, "weightBps": { "maximum": 10000, "minimum": 0, "type": "integer" } }, "required": [ "datasetIpId", "weightBps" ], "type": "object" }, "minItems": 1, "type": "array" }, "methodologyHash": { "description": "Optional 0x + 64 hex reproducibility hash", "type": "string" }, "modelIpId": { "description": "Story IP Asset ID for the model", "type": "string" } }, "required": [ "modelIpId", "datasetWeights" ], "type": "object" }, "name": "pcc_training_manifest_set", "outputSchema": null }, { "description": "Generate a complete KERNEL_CONFIG JSON for a Trilobio (tcode-api) fleet controller. Wraps `buildTrilobioConfig()` from the @pcc/trilobio npm package. Returns a TrilobioKernelConfig with sensible defaults (pollIntervalMs=3000, maxScriptTimeoutSec=3600, allowArbitraryScripts=false). The result can be passed to `pcc-node start` via the KERNEL_CONFIG env var, or handed to setup_generate_config / setup_register_device for direct API-driven registration. Note: this is a TypeScript package helper (no HTTP call). For programmatic use, `import { buildTrilobioConfig } from \"@pcc/trilobio\"`.", "inputSchema": { "properties": { "allowArbitraryScripts": { "description": "Permit customer-supplied tcode-api Python scripts (true) or only curated protocol IDs (false). Default: false. Set true only for trusted-counterparty deployments.", "type": "boolean" }, "apiKey": { "description": "Trilobio fleet-controller API key (from the trilobot admin UI). Either apiKey OR username+password is required unless mockMode=true.", "type": "string" }, "deviceId": { "description": "Logical device ID within the kernel (default: trilobio-fleet-01)", "type": "string" }, "kernelId": { "description": "Kernel ID this device belongs to (auto-generated as kernel_trilobio_<timestamp> if omitted)", "type": "string" }, "maxScriptTimeoutSec": { "description": "Maximum allowed wall-clock seconds for a single tcode script (range 30-86400). Default: 3600.", "type": "number" }, "mockMode": { "description": "Bypass real HTTP and simulate runs. Use for CI / floor demos. Default: false.", "type": "boolean" }, "mockRunDurationMs": { "description": "Mock-mode simulated run duration in ms. Default: 2000.", "type": "number" }, "password": { "description": "Fleet-controller account password (basic-auth mode only)", "type": "string" }, "pollIntervalMs": { "description": "Poll interval in ms for run status (range 500-60000). Default: 3000.", "type": "number" }, "tcodeApiVersion": { "description": "Pinned tcode-api version on the fleet controller. Format: 'latest' or semver (e.g. 1.25.1). Default: latest. Surfaces in evidence bundles for reproducibility.", "type": "string" }, "url": { "description": "Fleet-controller URL on the LAN (host[:port], no trailing slash, no path) — e.g. http://192.168.1.50", "type": "string" }, "username": { "description": "Fleet-controller account username (basic-auth mode only)", "type": "string" } }, "required": [ "url" ], "type": "object" }, "name": "pcc_trilobio_build_config", "outputSchema": null }, { "description": "Return the `TRILOBIO_CAPABILITY` constant from @pcc/trilobio — a default capability template for a Trilobio fleet controller. Pass to POST /api/capabilities to publish a baseline liquid-handling capability for a kernel hosting a trilobot. Operators can extend the `materials` and `capabilities` arrays to advertise instrument-specific features (custom labware libraries, sample types). Notable: includes `tcode-script-execution` as an advertised capability, which is unique to Trilobio — operators who set `allowArbitraryScripts: true` can accept jobs that ship a full tcode-api Python script as the protocol payload. Note: TypeScript package helper (no HTTP call); for programmatic use, `import { TRILOBIO_CAPABILITY } from \"@pcc/trilobio\"`.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "pcc_trilobio_capability_template", "outputSchema": null }, { "description": "Sanity-check operator-supplied Trilobio options before generating a KERNEL_CONFIG. Wraps `validateTrilobioOptions()` from @pcc/trilobio. Catches the common mistakes (malformed URL, missing creds, out-of-range timeouts, invalid tcodeApiVersion semver) before they hit the gateway or the device. Returns { valid: boolean, errors: string[], warnings?: string[] }. Note: this is a TypeScript package helper (no HTTP call); for programmatic use, `import { validateTrilobioOptions } from \"@pcc/trilobio\"`.", "inputSchema": { "properties": { "allowArbitraryScripts": { "type": "boolean" }, "apiKey": { "description": "Fleet-controller API key", "type": "string" }, "deviceId": { "type": "string" }, "kernelId": { "type": "string" }, "maxScriptTimeoutSec": { "type": "number" }, "mockMode": { "type": "boolean" }, "mockRunDurationMs": { "type": "number" }, "password": { "description": "Basic-auth password", "type": "string" }, "pollIntervalMs": { "type": "number" }, "tcodeApiVersion": { "description": "'latest' or semver string", "type": "string" }, "url": { "description": "Fleet-controller URL", "type": "string" }, "username": { "description": "Basic-auth username", "type": "string" } }, "required": [], "type": "object" }, "name": "pcc_trilobio_validate_options", "outputSchema": null }, { "description": "Quick lint of a tcode-api Python script before submission to a Trilobio fleet controller. Wraps `validateTcodeScript()` from @pcc/trilobio. Surface check only — NOT a sandbox or sanitizer. Looks for: imports of `tcode_api` (presence required), obviously dangerous statements (subprocess, os.system, eval, exec, __import__, socket, urllib, requests, file writes), empty scripts, and missing top-level tcode commands. Returns { valid: boolean, errors: string[], warnings?: string[] }. Operators with `allowArbitraryScripts=true` should treat results as a hint — the fleet controller is the source of truth on safety. Note: TypeScript package helper (no HTTP call); for programmatic use, `import { validateTcodeScript } from \"@pcc/trilobio\"`.", "inputSchema": { "properties": { "source": { "description": "Full Python source of the tcode-api script to lint", "type": "string" } }, "required": [ "source" ], "type": "object" }, "name": "pcc_trilobio_validate_script", "outputSchema": null }, { "description": "Update the status of a capability node within a request. Valid transitions: pending → bidding → assigned → in_progress → completed (or failed). When all nodes complete, the request automatically moves to completed.", "inputSchema": { "properties": { "nodeId": { "description": "Capability node ID", "type": "string" }, "requestId": { "description": "Request ID", "type": "string" }, "status": { "description": "New status for the node", "enum": [ "pending", "bidding", "assigned", "in_progress", "completed", "failed" ], "type": "string" } }, "required": [ "requestId", "nodeId", "status" ], "type": "object" }, "name": "pcc_update_node_status", "outputSchema": null }, { "description": "Update a capability request's title, description, budget, deadline, urgency, or contact info. Does not re-decompose — call pcc_decompose_request afterwards if you want a fresh DAG.", "inputSchema": { "properties": { "budget": { "type": "number" }, "deadline": { "type": "string" }, "description": { "type": "string" }, "requestId": { "description": "Request ID", "type": "string" }, "requesterEmail": { "type": "string" }, "requesterWallet": { "type": "string" }, "title": { "type": "string" }, "urgency": { "enum": [ "standard", "rush", "emergency" ], "type": "string" } }, "required": [ "requestId" ], "type": "object" }, "name": "pcc_update_request", "outputSchema": null }, { "description": "Report CaptureVerifier health: which adapters are loaded (c2pa, webauthn, appattest, playintegrity), their staleness status, in-memory challenge cache size, whether CaptureClassRegistry is deployed, and the active PCC_NETWORK. Use this to diagnose why a capture class is being rejected or degraded.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "pcc_verifier_health", "outputSchema": null }, { "description": "Propose a composition — a sequenced DAG of capability instances to satisfy a multi-step outcome under a budget + assurance tier. Accepts either a flat `steps` list or an outcome chain. Returns a candidate plan ranked by `optimizeFor` (price | speed | quality) with per-step assignments. The composition is persisted for ~30 minutes (proposed status) and can be executed once via execute_composition.", "inputSchema": { "properties": { "budgetUSD": { "description": "Total budget the user is willing to spend across all steps.", "type": "number" }, "description": { "description": "Free-form natural-language description (≤4000 chars).", "type": "string" }, "location": { "description": "Geographic constraint (lat/lng + radius, or country, etc).", "type": "object" }, "minAssuranceTier": { "description": "Minimum acceptable assurance tier on every step.", "enum": [ 0, 1, 2, 3 ], "type": "integer" }, "optimizeFor": { "description": "Ranking objective (default `price`).", "enum": [ "price", "speed", "quality" ], "type": "string" }, "outcomeChain": { "description": "Alternative to `steps`: chain of named sub-outcomes. The planner expands each into capability types.", "items": { "type": "string" }, "type": "array" }, "outcomeType": { "description": "High-level outcome label, ≤120 chars. Example: 'desk-robot-prototype'.", "type": "string" }, "requester": { "description": "{agentId, did?} — the agent submitting the request.", "type": "object" }, "steps": { "description": "Ordered list of capability types this composition needs (1..20). Use this OR `outcomeChain`.", "items": { "type": "string" }, "type": "array" } }, "required": [ "outcomeType", "budgetUSD", "minAssuranceTier" ], "type": "object" }, "name": "propose_composition", "outputSchema": null }, { "description": "Create a new MilestoneEscrow contract via the PCCProtocol factory on-chain. Protocol-deployed escrows have fee collection and registry tracking built in. Requires PCC_GATEWAY_PRIVATE_KEY write access.", "inputSchema": { "properties": { "arbiter": { "description": "Arbiter EVM address (0x...) — resolves disputes", "type": "string" }, "cwmId": { "description": "Capability Work Module ID as a 32-byte hex string (0x + 64 chars)", "type": "string" }, "payer": { "description": "Payer EVM address (0x...)", "type": "string" }, "token": { "description": "ERC-20 token address for payment (0x...)", "type": "string" } }, "required": [ "payer", "arbiter", "token", "cwmId" ], "type": "object" }, "name": "protocol_create_escrow", "outputSchema": null }, { "description": "Get protocol fees collected from a specific escrow contract. Also returns whether the escrow was deployed via the protocol factory. Useful for auditing fee flows.", "inputSchema": { "properties": { "escrowAddress": { "description": "Escrow contract address (0x...)", "type": "string" } }, "required": [ "escrowAddress" ], "type": "object" }, "name": "protocol_escrow_fees", "outputSchema": null }, { "description": "Calculate the protocol fee for a given USDC amount (6-decimal units). Returns the fee, the net amount after fee, and formatted versions of both. Use this before building escrow contracts to understand the true cost.", "inputSchema": { "properties": { "amount": { "description": "Amount as a BigInt string in USDC 6-decimal units (e.g. '1000000000' = 1000 USDC)", "type": "string" } }, "required": [ "amount" ], "type": "object" }, "name": "protocol_fee", "outputSchema": null }, { "description": "Read the PCCProtocol root contract state: current fee rate, total protocol fees collected, total escrow count, and registry addresses. Requires PCC_PROTOCOL_ADDRESS to be configured on the gateway.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "protocol_state", "outputSchema": null }, { "description": "Get total protocol fees collected for a specific ERC-20 token address across all escrows. Returns raw wei amount and human-readable formatted value.", "inputSchema": { "properties": { "tokenAddress": { "description": "ERC-20 token contract address (0x...)", "type": "string" } }, "required": [ "tokenAddress" ], "type": "object" }, "name": "protocol_token_fees", "outputSchema": null }, { "description": "Fast-track: submit evidence that your device works and get auto-approved + activated immediately. No manual review needed. Submit a photo of test output, device health snapshot, or a full evidence bundle with completion events. If evidence meets requirements, registration jumps straight to 'active'.", "inputSchema": { "properties": { "evidence": { "description": "Evidence proving the device works. Include at least one of: bundleHash+events, photoBase64, or deviceHealth.", "properties": { "bundleHash": { "description": "SHA-256 hash of the evidence bundle", "type": "string" }, "deviceHealth": { "description": "Live device health snapshot", "properties": { "firmware": { "description": "Firmware version", "type": "string" }, "model": { "description": "Device model name", "type": "string" }, "status": { "description": "Device status (e.g. 'idle', 'ready')", "type": "string" } }, "type": "object" }, "events": { "description": "Evidence events from a test job", "items": { "properties": { "payload": { "description": "Event data", "type": "object" }, "timestamp": { "description": "ISO timestamp", "type": "string" }, "type": { "description": "Event type: execution_completed, camera_snapshot, power_profile_summary, etc.", "type": "string" } }, "type": "object" }, "type": "array" }, "ipfsCid": { "description": "IPFS CID if evidence was already uploaded", "type": "string" }, "photoBase64": { "description": "Base64-encoded photo of test output (printed page, machined part, etc.)", "type": "string" } }, "type": "object" }, "registrationId": { "description": "Registration ID to prove", "type": "string" } }, "required": [ "registrationId", "evidence" ], "type": "object" }, "name": "prove_registration", "outputSchema": null }, { "description": "CALL THIS FIRST. Provisions an API key for the operator. Returns a pcc_live_* key that must be included as 'Authorization: Bearer <key>' on all subsequent requests. Accepts either email OR walletAddress. The key is shown once — save it. Without it, all other endpoints return 401.", "inputSchema": { "properties": { "capability": { "description": "What the operator does — e.g. 'FDM 3D printing', 'CNC milling', 'HPLC analysis'", "type": "string" }, "email": { "description": "Operator email address (use this OR walletAddress)", "type": "string" }, "name": { "description": "Operator display name (optional)", "type": "string" }, "walletAddress": { "description": "EVM wallet address (use this OR email)", "type": "string" } }, "required": [], "type": "object" }, "name": "provision_api_key", "outputSchema": null }, { "description": "Publish a draft protocol template, making it visible in the protocol library for others to discover and use.", "inputSchema": { "properties": { "id": { "description": "Protocol template ID to publish", "type": "string" } }, "required": [ "id" ], "type": "object" }, "name": "publish_protocol", "outputSchema": null }, { "description": "Raise a Story Protocol IP dispute against an asset. Provide evidence hash and reason.", "inputSchema": { "properties": { "evidenceHash": { "description": "Hash of the dispute evidence", "type": "string" }, "ipId": { "description": "IP asset ID to dispute", "type": "string" }, "reason": { "description": "Reason for the dispute", "type": "string" } }, "required": [ "ipId", "evidenceHash", "reason" ], "type": "object" }, "name": "raise_ip_dispute", "outputSchema": null }, { "description": "Record a transfer episode for a node pair. Increments episode count toward VLA training threshold.", "inputSchema": { "properties": { "episodeId": { "description": "Episode ID (optional)", "type": "string" }, "fromNodeId": { "description": "Source instrument node ID", "type": "string" }, "success": { "description": "Whether the episode succeeded", "type": "boolean" }, "toNodeId": { "description": "Destination instrument node ID", "type": "string" } }, "required": [ "fromNodeId", "toNodeId" ], "type": "object" }, "name": "record_episode", "outputSchema": null }, { "description": "One-click agent onboarding with an invite code. Provisions wallet, identity, LLM access, and PCC tools in a single call.", "inputSchema": { "properties": { "email": { "description": "Email address for the account", "type": "string" }, "inviteCode": { "description": "Invite code to redeem", "type": "string" }, "name": { "description": "Display name (optional)", "type": "string" }, "password": { "description": "Password for the account", "type": "string" } }, "required": [ "inviteCode", "email", "password" ], "type": "object" }, "name": "redeem_invite", "outputSchema": null }, { "description": "Register a capability as a Story Protocol IP Asset. Returns an ipId and NFT token. The designer earns royalties whenever this capability is used.", "inputSchema": { "properties": { "capability": { "description": "Capability object", "properties": { "description": { "type": "string" }, "id": { "type": "string" }, "kernelId": { "type": "string" }, "name": { "type": "string" }, "type": { "type": "string" } }, "required": [ "id", "name", "type", "kernelId" ], "type": "object" }, "commercialRevShare": { "description": "Revenue share percentage for commercial use (0-100)", "type": "number" }, "designerAddress": { "description": "EVM address of the capability designer", "type": "string" }, "designerName": { "description": "Display name of the designer", "type": "string" }, "ipfsCid": { "description": "IPFS CID of the capability spec document (optional)", "type": "string" } }, "required": [ "capability", "designerAddress", "designerName" ], "type": "object" }, "name": "register_capability_ip", "outputSchema": null }, { "description": "Register job evidence as a derivative IP asset on Story Protocol, linking it to the parent capability's IP. Operators earn royalties from derivative use.", "inputSchema": { "properties": { "evidenceBundleHash": { "description": "Hash of the evidence bundle", "type": "string" }, "ipfsCid": { "description": "IPFS CID of the evidence bundle (optional)", "type": "string" }, "jobId": { "description": "Job ID whose evidence is being registered", "type": "string" }, "operatorAddress": { "description": "EVM address of the operator", "type": "string" }, "operatorName": { "description": "Display name of the operator", "type": "string" }, "parentIpId": { "description": "IP ID of the parent capability", "type": "string" } }, "required": [ "parentIpId", "jobId", "evidenceBundleHash", "operatorAddress", "operatorName" ], "type": "object" }, "name": "register_job_evidence_ip", "outputSchema": null }, { "description": "Reject a machine registration with a reason. The operator can see the rejection reason and resubmit.", "inputSchema": { "properties": { "reason": { "description": "Reason for rejection", "type": "string" }, "registrationId": { "description": "Registration ID", "type": "string" } }, "required": [ "registrationId" ], "type": "object" }, "name": "reject_registration", "outputSchema": null }, { "description": "Release a milestone payment on-chain after the challenge window has expired. Returns transaction hash.", "inputSchema": { "properties": { "address": { "description": "Escrow contract address (0x...)", "type": "string" }, "milestoneIndex": { "description": "Milestone index to release (0-based)", "type": "number" } }, "required": [ "address", "milestoneIndex" ], "type": "object" }, "name": "release_milestone", "outputSchema": null }, { "description": "Compose a live PCC dashboard for a physical-capability task — pass a DashboardManifest (windows + live data bindings + actions) and it renders as an interactive MCP App.", "inputSchema": { "$id": "https://capability.network/ui-kit/v1/manifest.schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "definitions": { "Action": { "additionalProperties": false, "description": "A write the surface can perform. Fires ONLY on a human click; nothing on load. confirm has NO 'none'. Money verbs use confirm:'approval'.", "properties": { "arguments": { "description": "Bounded arguments for the typed operation (host mode only).", "type": "object" }, "body": { "description": "Static body merged into the request.", "type": "object" }, "bodyFrom": { "description": "Form id whose collected values become the request body.", "type": "string" }, "confirm": { "description": "'inline' = button confirm; 'approval' = the kit's Approval window. NO 'none'.", "enum": [ "inline", "approval" ] }, "id": { "minLength": 1, "type": "string" }, "idempotencyFrom": { "description": "Field id supplying an idempotencyKey (required on offer-posting actions).", "type": "string" }, "intentText": { "description": "Snapshot-mode chip text handed to the LLM (e.g. 'pcc: approve offer …').", "minLength": 1, "type": "string" }, "kind": { "enum": [ "post", "patch" ] }, "label": { "minLength": 1, "type": "string" }, "operation_id": { "description": "R4 PR2 — typed host-mediated operation id. In an MCP-App host view the click routes to the registered pcc.op.<operation_id> tool via tools/call (server-authorized); the raw kind/path is inert in host mode. Standalone rendering ignores this.", "minLength": 1, "type": "string" }, "path": { "minLength": 1, "type": "string" } }, "required": [ "id", "label", "kind", "path", "confirm", "intentText" ], "type": "object" }, "Binding": { "additionalProperties": false, "description": "A live-data binding: which route a window reads, how often, what to pluck.", "properties": { "path": { "description": "'/api/…' route the window reads.", "minLength": 1, "type": "string" }, "pollMs": { "description": "Poll cadence in ms (default ~30000; Zod floors at MIN_POLL_MS=2000 so a shared dashboard can't fast-poll authenticated endpoints).", "minimum": 2000, "type": "integer" }, "query": { "description": "Query params merged onto the request.", "type": "object" }, "select": { "description": "Dot-path into the response (e.g. 'data.jobs.0.status'). NOT JSONPath.", "type": "string" }, "sse": { "description": "SSE stream '/sse/stream/…' (fetch-SSE with Bearer).", "minLength": 1, "type": "string" } }, "required": [ "path" ], "type": "object" }, "ComposeRequest": { "additionalProperties": false, "description": "A re-plannable value-chain request (mirrors @pcc/spec ComposeRequestSchema). Pinned in a chain window, never a compositionId (30-min TTL).", "properties": { "budgetUSD": { "exclusiveMinimum": 0, "maximum": 1000000000, "type": "number" }, "description": { "maxLength": 4000, "minLength": 1, "type": "string" }, "location": { "additionalProperties": false, "properties": { "lat": { "maximum": 90, "minimum": -90, "type": "number" }, "lng": { "maximum": 180, "minimum": -180, "type": "number" }, "radiusKm": { "exclusiveMinimum": 0, "maximum": 20000, "type": "number" } }, "required": [ "lat", "lng" ], "type": "object" }, "minAssuranceTier": { "enum": [ 0, 1, 2, 3 ] }, "optimizeFor": { "enum": [ "price", "speed", "quality" ] }, "outcomeChain": { "items": { "maxLength": 120, "minLength": 1, "type": "string" }, "maxItems": 20, "minItems": 1, "type": "array" }, "outcomeType": { "maxLength": 120, "minLength": 1, "type": "string" }, "requester": { "additionalProperties": false, "properties": { "agentId": { "minLength": 1, "type": "string" }, "did": { "minLength": 1, "type": "string" } }, "required": [ "agentId" ], "type": "object" }, "steps": { "items": { "maxLength": 120, "minLength": 1, "type": "string" }, "maxItems": 20, "minItems": 1, "type": "array" } }, "required": [ "outcomeType", "budgetUSD", "minAssuranceTier" ], "type": "object" }, "ListItem": { "additionalProperties": false, "properties": { "meta": { "default": [], "description": "Dot-path fields for the row's meta line (capped at 12 — meta selectors loop per rendered row).", "items": { "type": "string" }, "maxItems": 12, "type": "array" }, "statusFrom": { "description": "Dot-path field for the row's status pill.", "type": "string" }, "title": { "description": "Dot-path field for each row's title.", "minLength": 1, "type": "string" } }, "required": [ "title" ], "type": "object" }, "Section": { "additionalProperties": false, "properties": { "heading": { "type": "string" }, "windows": { "items": { "$ref": "#/definitions/Window" }, "maxItems": 24, "type": "array" } }, "required": [ "windows" ], "type": "object" }, "Window": { "oneOf": [ { "additionalProperties": false, "properties": { "kind": { "const": "note" }, "text": { "type": "string" } }, "required": [ "kind", "text" ], "type": "object" }, { "additionalProperties": false, "properties": { "binding": { "$ref": "#/definitions/Binding" }, "format": { "enum": [ "usd", "int", "pct", "ts" ] }, "kind": { "const": "metric" }, "label": { "minLength": 1, "type": "string" }, "select": { "type": "string" } }, "required": [ "kind", "label", "binding" ], "type": "object" }, { "additionalProperties": false, "properties": { "binding": { "$ref": "#/definitions/Binding" }, "kind": { "const": "capability" } }, "required": [ "kind", "binding" ], "type": "object" }, { "additionalProperties": false, "properties": { "binding": { "$ref": "#/definitions/Binding" }, "item": { "$ref": "#/definitions/ListItem" }, "kind": { "const": "list" }, "limit": { "exclusiveMinimum": 0, "maximum": 200, "type": "integer" } }, "required": [ "kind", "binding", "item" ], "type": "object" }, { "additionalProperties": false, "properties": { "kind": { "const": "form" }, "schema": { "description": "A JSON Schema whose properties become form fields.", "type": "object" }, "submit": { "$ref": "#/definitions/Action" } }, "required": [ "kind", "schema", "submit" ], "type": "object" }, { "additionalProperties": false, "properties": { "binding": { "$ref": "#/definitions/Binding" }, "kind": { "const": "run" }, "latestFrom": { "type": "string" }, "statusFrom": { "type": "string" } }, "required": [ "kind", "binding", "statusFrom", "latestFrom" ], "type": "object" }, { "additionalProperties": false, "properties": { "approve": { "$ref": "#/definitions/Action" }, "binding": { "$ref": "#/definitions/Binding" }, "deny": { "$ref": "#/definitions/Action" }, "kind": { "const": "approval" } }, "required": [ "kind", "binding", "approve" ], "type": "object" }, { "additionalProperties": false, "properties": { "binding": { "$ref": "#/definitions/Binding" }, "kind": { "const": "receipt" } }, "required": [ "kind", "binding" ], "type": "object" }, { "additionalProperties": false, "properties": { "composeRef": { "$ref": "#/definitions/ComposeRequest" }, "execute": { "$ref": "#/definitions/Action" }, "kind": { "const": "chain" } }, "required": [ "kind", "composeRef" ], "type": "object" }, { "additionalProperties": false, "properties": { "actions": { "items": { "$ref": "#/definitions/Action" }, "maxItems": 24, "minItems": 1, "type": "array" }, "kind": { "const": "actions" } }, "required": [ "kind", "actions" ], "type": "object" } ] } }, "description": "JSON-Schema mirror of @pcc/spec DashboardManifestSchema (packages/spec/src/types/ui-artifact.ts). The small declarative dashboard a person's LLM emits; the pcc-ui kit renders it. Windows are a closed set rendered textContent-only. Actions never carry confirm:\"none\" (a human click is the confirm step). A manifest must NOT contain an API key (pcc_live_/pcc_test_) anywhere — a shared artifact travels with its contents. This mirror now carries the Zod RESOURCE CAPS (sections/windows/actions maxItems 24, list.limit max 200, meta maxItems 12, pollMs minimum 2000) so a generator validating only against this schema does not emit manifests the gateway then rejects. TWO Zod guards are not expressible as JSON-Schema validation and are enforced only by the gateway's Zod (the authoritative gate): the 256KB byte cap (MAX_MANIFEST_BYTES) and the recursive no-credential refine (containsApiKey — rejects a baked pcc key / Bearer / JWT, raw, percent-encoded, or base64). Validate against the Zod DashboardManifestSchema for the full gate.", "properties": { "api_base": { "description": "Gateway base URL. Default https://capability.network.", "type": "string" }, "csd": { "const": "pcc://artifacts/dashboard/v1", "description": "The builtin CSD URI this manifest conforms to." }, "description": { "type": "string" }, "sections": { "items": { "$ref": "#/definitions/Section" }, "maxItems": 24, "type": "array" }, "theme": { "enum": [ "auto", "dark", "light" ] }, "title": { "minLength": 1, "type": "string" } }, "required": [ "csd", "title", "sections" ], "title": "PCC Dashboard Manifest", "type": "object" }, "name": "render_pcc_dashboard", "outputSchema": { "additionalProperties": false, "properties": { "manifest": { "type": "object" } }, "required": [ "manifest" ], "type": "object" } }, { "description": "Compose a live PCC dashboard rendered through the closed, PCC-owned IR (read-only). Pass a DashboardManifest; it renders as an interactive MCP App via the audited closed-IR render path.", "inputSchema": { "$id": "https://capability.network/ui-kit/v1/manifest.schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "definitions": { "Action": { "additionalProperties": false, "description": "A write the surface can perform. Fires ONLY on a human click; nothing on load. confirm has NO 'none'. Money verbs use confirm:'approval'.", "properties": { "arguments": { "description": "Bounded arguments for the typed operation (host mode only).", "type": "object" }, "body": { "description": "Static body merged into the request.", "type": "object" }, "bodyFrom": { "description": "Form id whose collected values become the request body.", "type": "string" }, "confirm": { "description": "'inline' = button confirm; 'approval' = the kit's Approval window. NO 'none'.", "enum": [ "inline", "approval" ] }, "id": { "minLength": 1, "type": "string" }, "idempotencyFrom": { "description": "Field id supplying an idempotencyKey (required on offer-posting actions).", "type": "string" }, "intentText": { "description": "Snapshot-mode chip text handed to the LLM (e.g. 'pcc: approve offer …').", "minLength": 1, "type": "string" }, "kind": { "enum": [ "post", "patch" ] }, "label": { "minLength": 1, "type": "string" }, "operation_id": { "description": "R4 PR2 — typed host-mediated operation id. In an MCP-App host view the click routes to the registered pcc.op.<operation_id> tool via tools/call (server-authorized); the raw kind/path is inert in host mode. Standalone rendering ignores this.", "minLength": 1, "type": "string" }, "path": { "minLength": 1, "type": "string" } }, "required": [ "id", "label", "kind", "path", "confirm", "intentText" ], "type": "object" }, "Binding": { "additionalProperties": false, "description": "A live-data binding: which route a window reads, how often, what to pluck.", "properties": { "path": { "description": "'/api/…' route the window reads.", "minLength": 1, "type": "string" }, "pollMs": { "description": "Poll cadence in ms (default ~30000; Zod floors at MIN_POLL_MS=2000 so a shared dashboard can't fast-poll authenticated endpoints).", "minimum": 2000, "type": "integer" }, "query": { "description": "Query params merged onto the request.", "type": "object" }, "select": { "description": "Dot-path into the response (e.g. 'data.jobs.0.status'). NOT JSONPath.", "type": "string" }, "sse": { "description": "SSE stream '/sse/stream/…' (fetch-SSE with Bearer).", "minLength": 1, "type": "string" } }, "required": [ "path" ], "type": "object" }, "ComposeRequest": { "additionalProperties": false, "description": "A re-plannable value-chain request (mirrors @pcc/spec ComposeRequestSchema). Pinned in a chain window, never a compositionId (30-min TTL).", "properties": { "budgetUSD": { "exclusiveMinimum": 0, "maximum": 1000000000, "type": "number" }, "description": { "maxLength": 4000, "minLength": 1, "type": "string" }, "location": { "additionalProperties": false, "properties": { "lat": { "maximum": 90, "minimum": -90, "type": "number" }, "lng": { "maximum": 180, "minimum": -180, "type": "number" }, "radiusKm": { "exclusiveMinimum": 0, "maximum": 20000, "type": "number" } }, "required": [ "lat", "lng" ], "type": "object" }, "minAssuranceTier": { "enum": [ 0, 1, 2, 3 ] }, "optimizeFor": { "enum": [ "price", "speed", "quality" ] }, "outcomeChain": { "items": { "maxLength": 120, "minLength": 1, "type": "string" }, "maxItems": 20, "minItems": 1, "type": "array" }, "outcomeType": { "maxLength": 120, "minLength": 1, "type": "string" }, "requester": { "additionalProperties": false, "properties": { "agentId": { "minLength": 1, "type": "string" }, "did": { "minLength": 1, "type": "string" } }, "required": [ "agentId" ], "type": "object" }, "steps": { "items": { "maxLength": 120, "minLength": 1, "type": "string" }, "maxItems": 20, "minItems": 1, "type": "array" } }, "required": [ "outcomeType", "budgetUSD", "minAssuranceTier" ], "type": "object" }, "ListItem": { "additionalProperties": false, "properties": { "meta": { "default": [], "description": "Dot-path fields for the row's meta line (capped at 12 — meta selectors loop per rendered row).", "items": { "type": "string" }, "maxItems": 12, "type": "array" }, "statusFrom": { "description": "Dot-path field for the row's status pill.", "type": "string" }, "title": { "description": "Dot-path field for each row's title.", "minLength": 1, "type": "string" } }, "required": [ "title" ], "type": "object" }, "Section": { "additionalProperties": false, "properties": { "heading": { "type": "string" }, "windows": { "items": { "$ref": "#/definitions/Window" }, "maxItems": 24, "type": "array" } }, "required": [ "windows" ], "type": "object" }, "Window": { "oneOf": [ { "additionalProperties": false, "properties": { "kind": { "const": "note" }, "text": { "type": "string" } }, "required": [ "kind", "text" ], "type": "object" }, { "additionalProperties": false, "properties": { "binding": { "$ref": "#/definitions/Binding" }, "format": { "enum": [ "usd", "int", "pct", "ts" ] }, "kind": { "const": "metric" }, "label": { "minLength": 1, "type": "string" }, "select": { "type": "string" } }, "required": [ "kind", "label", "binding" ], "type": "object" }, { "additionalProperties": false, "properties": { "binding": { "$ref": "#/definitions/Binding" }, "kind": { "const": "capability" } }, "required": [ "kind", "binding" ], "type": "object" }, { "additionalProperties": false, "properties": { "binding": { "$ref": "#/definitions/Binding" }, "item": { "$ref": "#/definitions/ListItem" }, "kind": { "const": "list" }, "limit": { "exclusiveMinimum": 0, "maximum": 200, "type": "integer" } }, "required": [ "kind", "binding", "item" ], "type": "object" }, { "additionalProperties": false, "properties": { "kind": { "const": "form" }, "schema": { "description": "A JSON Schema whose properties become form fields.", "type": "object" }, "submit": { "$ref": "#/definitions/Action" } }, "required": [ "kind", "schema", "submit" ], "type": "object" }, { "additionalProperties": false, "properties": { "binding": { "$ref": "#/definitions/Binding" }, "kind": { "const": "run" }, "latestFrom": { "type": "string" }, "statusFrom": { "type": "string" } }, "required": [ "kind", "binding", "statusFrom", "latestFrom" ], "type": "object" }, { "additionalProperties": false, "properties": { "approve": { "$ref": "#/definitions/Action" }, "binding": { "$ref": "#/definitions/Binding" }, "deny": { "$ref": "#/definitions/Action" }, "kind": { "const": "approval" } }, "required": [ "kind", "binding", "approve" ], "type": "object" }, { "additionalProperties": false, "properties": { "binding": { "$ref": "#/definitions/Binding" }, "kind": { "const": "receipt" } }, "required": [ "kind", "binding" ], "type": "object" }, { "additionalProperties": false, "properties": { "composeRef": { "$ref": "#/definitions/ComposeRequest" }, "execute": { "$ref": "#/definitions/Action" }, "kind": { "const": "chain" } }, "required": [ "kind", "composeRef" ], "type": "object" }, { "additionalProperties": false, "properties": { "actions": { "items": { "$ref": "#/definitions/Action" }, "maxItems": 24, "minItems": 1, "type": "array" }, "kind": { "const": "actions" } }, "required": [ "kind", "actions" ], "type": "object" } ] } }, "description": "JSON-Schema mirror of @pcc/spec DashboardManifestSchema (packages/spec/src/types/ui-artifact.ts). The small declarative dashboard a person's LLM emits; the pcc-ui kit renders it. Windows are a closed set rendered textContent-only. Actions never carry confirm:\"none\" (a human click is the confirm step). A manifest must NOT contain an API key (pcc_live_/pcc_test_) anywhere — a shared artifact travels with its contents. This mirror now carries the Zod RESOURCE CAPS (sections/windows/actions maxItems 24, list.limit max 200, meta maxItems 12, pollMs minimum 2000) so a generator validating only against this schema does not emit manifests the gateway then rejects. TWO Zod guards are not expressible as JSON-Schema validation and are enforced only by the gateway's Zod (the authoritative gate): the 256KB byte cap (MAX_MANIFEST_BYTES) and the recursive no-credential refine (containsApiKey — rejects a baked pcc key / Bearer / JWT, raw, percent-encoded, or base64). Validate against the Zod DashboardManifestSchema for the full gate.", "properties": { "api_base": { "description": "Gateway base URL. Default https://capability.network.", "type": "string" }, "csd": { "const": "pcc://artifacts/dashboard/v1", "description": "The builtin CSD URI this manifest conforms to." }, "description": { "type": "string" }, "sections": { "items": { "$ref": "#/definitions/Section" }, "maxItems": 24, "type": "array" }, "theme": { "enum": [ "auto", "dark", "light" ] }, "title": { "minLength": 1, "type": "string" } }, "required": [ "csd", "title", "sections" ], "title": "PCC Dashboard Manifest", "type": "object" }, "name": "render_pcc_dashboard_ir", "outputSchema": { "additionalProperties": false, "properties": { "manifest": { "type": "object" } }, "required": [ "manifest" ], "type": "object" } }, { "description": "Reply to an existing support thread. Use when the operator wants to add information to a thread started earlier. Needs the threadId from check_support_replies or the original send_support_message response.", "inputSchema": { "properties": { "message": { "description": "Reply message", "type": "string" }, "retrievalCode": { "description": "Optional diagnostic retrieval code to attach", "type": "string" }, "threadId": { "description": "Thread ID to reply to", "type": "string" } }, "required": [ "threadId", "message" ], "type": "object" }, "name": "reply_to_support_thread", "outputSchema": null }, { "description": "Report a detected anomaly — protocol failure, evidence mismatch, stuck job, or suspicious behavior. All agents on the network are notified.", "inputSchema": { "properties": { "category": { "description": "Anomaly category", "enum": [ "protocol_failure", "evidence_mismatch", "consensus_failure", "timeout", "rate_anomaly", "trust_violation" ], "type": "string" }, "description": { "description": "Human-readable description of what went wrong", "type": "string" }, "jobId": { "description": "Related job ID (optional)", "type": "string" }, "severity": { "description": "Anomaly severity", "enum": [ "info", "warning", "critical" ], "type": "string" }, "targetAgentId": { "description": "Agent or kernel ID being reported (optional)", "type": "string" } }, "required": [ "severity", "category", "description" ], "type": "object" }, "name": "report_anomaly", "outputSchema": null }, { "description": "Report a protocol failure — when a step in the evidence/escrow/verification pipeline breaks. System may auto-recover.", "inputSchema": { "properties": { "errorCode": { "description": "Error code", "type": "string" }, "errorMessage": { "description": "Error description", "type": "string" }, "involvedAgents": { "description": "Agent IDs involved", "items": { "type": "string" }, "type": "array" }, "jobId": { "description": "Related job ID", "type": "string" }, "protocol": { "description": "Which protocol failed: evidence_submission, escrow_release, verification_consensus, settlement", "type": "string" }, "recoveryAction": { "description": "Suggested recovery", "enum": [ "retry", "escalate", "rollback", "ignore" ], "type": "string" } }, "required": [ "protocol", "errorCode", "errorMessage", "involvedAgents" ], "type": "object" }, "name": "report_protocol_failure", "outputSchema": null }, { "description": "Mark an anomaly as resolved with a resolution note.", "inputSchema": { "properties": { "anomalyId": { "description": "Anomaly ID to resolve", "type": "string" }, "resolution": { "description": "How the anomaly was resolved", "type": "string" } }, "required": [ "anomalyId", "resolution" ], "type": "object" }, "name": "resolve_anomaly", "outputSchema": null }, { "description": "Submit a verifier's verdict for a verification request. Returns consensus state after this vote.", "inputSchema": { "properties": { "notes": { "description": "Optional notes explaining the verdict", "type": "string" }, "requestId": { "description": "Verification request ID (hvreq_...)", "type": "string" }, "signature": { "description": "Cryptographic signature of the verdict", "type": "string" }, "verdict": { "description": "Verifier's verdict", "enum": [ "match", "no_match", "inconclusive" ], "type": "string" }, "verifierId": { "description": "Verifier node ID", "type": "string" } }, "required": [ "requestId", "verifierId", "verdict", "signature" ], "type": "object" }, "name": "respond_to_verification", "outputSchema": null }, { "description": "Resume a paused protocol run from where it stopped.", "inputSchema": { "properties": { "runId": { "description": "Protocol run ID to resume", "type": "string" } }, "required": [ "runId" ], "type": "object" }, "name": "resume_protocol_run", "outputSchema": null }, { "description": "Retrieve raw data from IPFS by CID. Used to fetch archived evidence bundles from decentralized storage.", "inputSchema": { "properties": { "cid": { "description": "IPFS content identifier (CID)", "type": "string" } }, "required": [ "cid" ], "type": "object" }, "name": "retrieve_ipfs", "outputSchema": null }, { "description": "Revoke an API key permanently. The key will immediately stop working. You must own the key. Use list_api_keys to find the key ID.", "inputSchema": { "properties": { "keyId": { "description": "Key ID to revoke (from list_api_keys)", "type": "string" } }, "required": [ "keyId" ], "type": "object" }, "name": "revoke_api_key", "outputSchema": null }, { "description": "Save a generated dashboard to the network so the user gets a live, shareable URL: https://capability.network/a/<slug>. Pass a `manifest` — a small declarative DashboardManifest (windows + live-data bindings + actions) conforming to the schema at https://capability.network/ui-kit/v1/manifest.schema.json; the shipped pcc-ui kit renders it identically everywhere (you compose the manifest, the kit renders it — never hand-rolled HTML). WHEN to call this: only when the task needs a surface to watch/approve/compare/reuse (a live job, a value chain, a settlement trail, a recurring order) — never for a one-line answer. RECALL FIRST: call search_dashboards before generating; reload or fork a match instead of duplicating. The manifest MUST NOT contain an API key (a shared artifact travels with its contents — the network rejects one that does). Returns the stored artifact incl. its slug. Defaults visibility to 'unlisted' (link-shareable, not listed).", "inputSchema": { "properties": { "capabilityTypes": { "description": "Capability types this dashboard is about, e.g. ['pizza.order','courier.dispatch']. This is the discovery join — it's how search_dashboards finds this artifact later.", "items": { "type": "string" }, "type": "array" }, "composeRefs": { "description": "Optional pinned, re-plannable ComposeRequest objects (value chains). Pin the request, never a compositionId (those expire in 30 min).", "items": { "type": "object" }, "type": "array" }, "description": { "description": "One-line description of what the dashboard shows.", "type": "string" }, "manifest": { "description": "The DashboardManifest (2-6KB JSON) conforming to https://capability.network/ui-kit/v1/manifest.schema.json. Required top-level keys: `csd` (must be 'pcc://artifacts/dashboard/v1'), `title`, and `sections[]` (each section has `windows[]`). Window kinds: note, metric, capability, list, form, run, approval, receipt, chain, actions. Bindings point at live routes you already use (/api/jobs/:id, /api/escrow/:id, /sse/stream/job/:id). No API key anywhere in the manifest.", "type": "object" }, "name": { "description": "Short human name for the dashboard, e.g. 'Watch my pizza + courier'. Used to mint the slug.", "type": "string" }, "renderedCid": { "description": "Optional CID of a rendered-HTML export saved via /api/storage.", "type": "string" }, "visibility": { "description": "Who can load it. Default 'unlisted' (anyone with the link; not in listings). 'public' appears in search_dashboards; 'private' is owner-only.", "enum": [ "private", "unlisted", "public" ], "type": "string" } }, "required": [ "name", "manifest" ], "type": "object" }, "name": "save_dashboard", "outputSchema": { "additionalProperties": false, "properties": { "manifest": { "type": "object" }, "name": { "type": "string" }, "slug": { "type": "string" } }, "required": [ "manifest" ], "type": "object" } }, { "description": "Search capability templates by type or keyword. Returns templates with pricing, assurance tiers, and availability.", "inputSchema": { "properties": { "query": { "description": "Search query (type name, material, process, etc.)", "type": "string" } }, "required": [ "query" ], "type": "object" }, "name": "search_capabilities", "outputSchema": null }, { "description": "Discover existing public dashboards before you generate a new one (recall-first — the library accrues; adopt > extend > build for UIs too). Filter by `capabilityType` (e.g. 'pizza.order'), free-text `q` over name/description/types, and `sort` by popularity or recency. Returns { entries, total, offset, limit }. Only public artifacts are listed; unlisted ones load by slug via get_dashboard but never appear here.", "inputSchema": { "properties": { "capabilityType": { "description": "Filter to dashboards tagged with this capability type, e.g. 'pizza.order'.", "type": "string" }, "limit": { "description": "Max results (1..100, default 20).", "maximum": 100, "minimum": 1, "type": "integer" }, "offset": { "description": "Pagination offset (default 0).", "minimum": 0, "type": "integer" }, "q": { "description": "Free-text search over name, description, and capability types.", "type": "string" }, "sort": { "description": "Ranking: 'popular' (by use+load+fork counts) or 'recent' (default).", "enum": [ "popular", "recent" ], "type": "string" } }, "required": [], "type": "object" }, "name": "search_dashboards", "outputSchema": { "additionalProperties": false, "properties": { "entries": { "items": { "additionalProperties": false, "properties": { "name": { "type": "string" }, "slug": { "type": "string" }, "title": { "type": "string" } }, "type": "object" }, "type": "array" }, "total": { "type": "number" } }, "required": [ "entries" ], "type": "object" } }, { "description": "Search for lab/workshop hosting spaces. Filter by size, access schedule, and other requirements.", "inputSchema": { "properties": { "access": { "description": "Access schedule (24/7, business-hours, all)", "type": "string" }, "maxSqft": { "description": "Maximum square footage", "type": "number" } }, "required": [], "type": "object" }, "name": "search_spaces", "outputSchema": null }, { "description": "Upload an encrypted diagnostic bundle when the operator's node has problems. The bundle is encrypted client-side with a retrieval code the operator must share with support before logs can be read. Use this when the operator reports errors, crashes, or misbehavior. The pcc-node CLI runs `pcc-node logs --send` locally to collect+encrypt; prefer that path when available. This tool is for agent-driven uploads when the bundle is already prepared.", "inputSchema": { "properties": { "bundleHash": { "description": "sha256 of plaintext bundle", "type": "string" }, "bundleSize": { "description": "Size of encrypted payload in bytes", "type": "number" }, "collectedAt": { "description": "ISO timestamp when bundle was collected", "type": "string" }, "encrypted": { "description": "Encrypted bundle payload", "properties": { "ciphertext_b64": { "type": "string" }, "iv_b64": { "type": "string" }, "salt_b64": { "type": "string" }, "tag_b64": { "type": "string" } }, "required": [ "ciphertext_b64", "iv_b64", "salt_b64", "tag_b64" ], "type": "object" }, "kernelId": { "description": "Kernel ID the diagnostics came from", "type": "string" }, "logLineCount": { "description": "How many log lines are in the bundle", "type": "number" }, "systemPlatform": { "description": "e.g. Linux-5.15, Darwin-23, Windows-10", "type": "string" } }, "required": [ "kernelId", "encrypted" ], "type": "object" }, "name": "send_diagnostics", "outputSchema": null }, { "description": "Send an operator support message to the PCC team. Creates a new support thread or appends to the operator's existing open thread. Can optionally attach a diagnostic retrieval code (from send_diagnostics) so support staff can decrypt logs. Discord webhook fires on every new message, so expect fast response. Use this whenever the operator says something is broken, confusing, or not behaving as expected.", "inputSchema": { "properties": { "kernelId": { "description": "Operator's kernel ID", "type": "string" }, "kernelName": { "description": "Human-readable kernel name", "type": "string" }, "message": { "description": "The support message text — describe the problem concretely", "type": "string" }, "retrievalCode": { "description": "Optional diagnostic retrieval code to attach (from send_diagnostics)", "type": "string" }, "subject": { "description": "Optional thread subject (auto-generated from message if omitted)", "type": "string" }, "systemInfo": { "description": "Optional system context (platform, nodeVersion, daemonRunning, gatewayReachable)", "type": "object" } }, "required": [ "kernelId", "message" ], "type": "object" }, "name": "send_support_message", "outputSchema": null }, { "description": "Auto-detect current setup state: env vars, database, adapters, chain connectivity, storage, identity. Use this to see what's configured and what's missing before onboarding.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "setup_detect", "outputSchema": null }, { "description": "Generate a KERNEL_CONFIG JSON from device descriptions. Tell it what machines you have and it produces the config ready to paste into your environment.", "inputSchema": { "properties": { "devices": { "description": "Array of device descriptions with type, model, and connection info", "items": { "type": "object" }, "type": "array" } }, "required": [ "devices" ], "type": "object" }, "name": "setup_generate_config", "outputSchema": null }, { "description": "Register a device in the database with adapter config and capabilities. Part of Step 3 in the onboarding flow. Required: kernelId, deviceId, type and adapterType (400 missing_required_fields otherwise).", "inputSchema": { "properties": { "adapterConfig": { "description": "Adapter-specific configuration (host, port, auth, etc.)", "type": "object" }, "adapterType": { "description": "One of octoprint, modbus, opcua, sila, ipp, generic-http or mock; the route refuses anything else (including opentrons)", "type": "string" }, "capabilities": { "description": "Capability types this device serves", "items": { "type": "string" }, "type": "array" }, "deviceId": { "description": "Your ID for this device, unique within the kernel", "type": "string" }, "kernelId": { "description": "Kernel ID to register the device under", "type": "string" }, "model": { "description": "Device model identifier (optional; stored as \"unknown\" if absent)", "type": "string" }, "type": { "description": "Device role: machine, sensor or camera (the values setup_generate_config and setup_validate accept)", "type": "string" } }, "required": [ "kernelId", "deviceId", "type", "adapterType" ], "type": "object" }, "name": "setup_register_device", "outputSchema": null }, { "description": "Comprehensive setup status across 6 categories: gateway, database, adapters, chain, storage, identity. Use to confirm everything is green before going live.", "inputSchema": { "properties": {}, "required": [], "type": "object" }, "name": "setup_status", "outputSchema": null }, { "description": "Submit a test job to verify the full pipeline works end-to-end (Step 4 of onboarding). Returns job ID and result.", "inputSchema": { "properties": { "deviceId": { "description": "Specific device ID to test (optional)", "type": "string" }, "kernelId": { "description": "Kernel ID to test", "type": "string" } }, "required": [ "kernelId" ], "type": "object" }, "name": "setup_test_job", "outputSchema": null }, { "description": "Validate a kernel config (20+ checks: JSON structure, device connectivity, adapter compatibility). Returns validation errors and warnings.", "inputSchema": { "properties": { "config": { "description": "Kernel config JSON to validate", "type": "object" } }, "required": [ "config" ], "type": "object" }, "name": "setup_validate", "outputSchema": null }, { "description": "Stake USDC or credits into a capability investment pool.", "inputSchema": { "properties": { "amount": { "description": "Amount to stake", "type": "number" }, "poolId": { "description": "Investment pool ID", "type": "string" }, "staker": { "description": "Address or DID of the staker", "type": "string" } }, "required": [ "poolId", "staker", "amount" ], "type": "object" }, "name": "stake_in_pool", "outputSchema": null }, { "description": "Start execution of a protocol run that is in 'ready' or 'binding' state.", "inputSchema": { "properties": { "runId": { "description": "Protocol run ID to start", "type": "string" } }, "required": [ "runId" ], "type": "object" }, "name": "start_protocol_run", "outputSchema": null }, { "description": "Submit a verifier attestation for a milestone on-chain. Used by third-party verifiers (Bittensor subnet) to confirm evidence quality. Returns transaction hash.", "inputSchema": { "properties": { "address": { "description": "Escrow contract address (0x...)", "type": "string" }, "attestationHash": { "description": "Attestation hash as 0x-prefixed hex bytes32", "type": "string" }, "milestoneIndex": { "description": "Milestone index (0-based)", "type": "number" } }, "required": [ "address", "milestoneIndex", "attestationHash" ], "type": "object" }, "name": "submit_attestation", "outputSchema": null }, { "description": "Signal that you want a capability that doesn't exist on the network yet. Creates a demand signal and may auto-create a bounty if enough demand accumulates.", "inputSchema": { "properties": { "assuranceTier": { "description": "Required assurance tier (0-3)", "type": "number" }, "capabilityType": { "description": "Type of capability wanted (e.g. electron-beam-welding, cryo-em)", "type": "string" }, "description": { "description": "Description of what you need", "type": "string" }, "estimatedFrequency": { "description": "How often you would use this capability", "enum": [ "one-time", "weekly", "monthly", "daily" ], "type": "string" }, "estimatedJobValue": { "description": "Estimated payment per job in USD", "type": "number" }, "requesterId": { "description": "ID of the requester", "type": "string" } }, "required": [ "requesterId", "capabilityType", "description" ], "type": "object" }, "name": "submit_demand", "outputSchema": null }, { "description": "Submit an evidence bundle hash for a milestone on-chain. Links the physical evidence to the on-chain settlement record. Returns transaction hash.", "inputSchema": { "properties": { "address": { "description": "Escrow contract address (0x...)", "type": "string" }, "evidenceBundleHash": { "description": "Evidence bundle hash as 0x-prefixed hex bytes32", "type": "string" }, "milestoneIndex": { "description": "Milestone index (0-based)", "type": "number" } }, "required": [ "address", "milestoneIndex", "evidenceBundleHash" ], "type": "object" }, "name": "submit_evidence_hash", "outputSchema": null }, { "description": "Submit a bug report, suggestion, or general feedback about the PCC network.", "inputSchema": { "properties": { "message": { "description": "Feedback message (max 5000 chars)", "type": "string" }, "page": { "description": "Page or feature the feedback relates to", "type": "string" }, "type": { "description": "Feedback type", "enum": [ "bug", "comment", "difficulty", "suggestion" ], "type": "string" } }, "required": [ "message" ], "type": "object" }, "name": "submit_feedback", "outputSchema": null }, { "description": "Submit an evidence bundle for human verification. Selects a panel of verifiers from the network and returns assigned verifier IDs.", "inputSchema": { "properties": { "bundleHash": { "description": "SHA-256 hash of the evidence bundle", "type": "string" }, "comparisonScore": { "description": "Pre-computed comparison score 0-1 (optional)", "type": "number" }, "photoRef": { "description": "Reference to the photo evidence (CID or URL)", "type": "string" }, "referenceRef": { "description": "Reference to the reference/spec document", "type": "string" }, "verifierCount": { "description": "Number of verifiers to assign (default 5)", "type": "number" } }, "required": [ "bundleHash", "photoRef", "referenceRef" ], "type": "object" }, "name": "submit_for_human_verification", "outputSchema": null }, { "description": "Bidirectional onboarding: the registry talks back. Describe in plain English what you are trying to set up — 'wood-fired pizza shop in SF', 'Opentrons OT-2 liquid handler', 'same-day SF courier' — and the registry returns N candidate Capability StructureDefinition (CSD) templates ranked by keyword-overlap relevance (name×3, tags×2, description×1; tie-break on usage). Empty query falls back to popularity-ordered top picks. After picking one, pass the chosen type to pcc-author-integration. Score-zero results are dropped.", "inputSchema": { "properties": { "kind": { "description": "Filter by CSD kind.", "enum": [ "base", "profile", "extension", "workflow" ], "type": "string" }, "limit": { "description": "Max results (1..20, default 5).", "maximum": 20, "minimum": 1, "type": "integer" }, "q": { "description": "Plain-English description of the capability the user is trying to set up. Optional — empty falls back to popularity.", "type": "string" } }, "required": [], "type": "object" }, "name": "suggest_csd_templates", "outputSchema": null }, { "description": "Raw system state dump — actual DB rows for kernels, devices, jobs, evidence, registrations, capabilities, agent conversations, audit log. No fake numbers, no summaries.", "inputSchema": { "properties": {}, "type": "object" }, "name": "system_telemetry", "outputSchema": null }, { "description": "Fire a synthetic job at every enabled channel for an operator so the onboarding agent (and the human watching) can confirm the integration end-to-end before a real job lands. Returns per-channel dispatch results (delivered, ref, warnings).", "inputSchema": { "properties": { "slug": { "description": "Operator slug.", "type": "string" } }, "required": [ "slug" ], "type": "object" }, "name": "test_operator_channels", "outputSchema": null }, { "description": "Modify a dashboard you own (owner-only). Replace the manifest or any metadata field; the version increments. Use this to edit a saved surface meaningfully — 'raise budgetUSD to 40', 'add a receipt window', 'make it public'. A replaced manifest must still conform to the schema and must not contain an API key. Only send the fields you want to change.", "inputSchema": { "properties": { "capabilityTypes": { "description": "Replacement capability-type tags.", "items": { "type": "string" }, "type": "array" }, "composeRefs": { "description": "Replacement pinned ComposeRequest objects.", "items": { "type": "object" }, "type": "array" }, "description": { "description": "New description.", "type": "string" }, "id": { "description": "The id (ua_...) of the artifact to update.", "type": "string" }, "manifest": { "description": "Replacement DashboardManifest (must conform to the schema; no API key). Omit to leave the manifest unchanged.", "type": "object" }, "name": { "description": "New name.", "type": "string" }, "renderedCid": { "description": "New rendered-HTML export CID.", "type": "string" }, "visibility": { "description": "New visibility (e.g. flip 'unlisted' -> 'public' to list it).", "enum": [ "private", "unlisted", "public" ], "type": "string" } }, "required": [ "id" ], "type": "object" }, "name": "update_dashboard", "outputSchema": { "additionalProperties": false, "properties": { "manifest": { "type": "object" }, "name": { "type": "string" }, "slug": { "type": "string" } }, "required": [ "manifest" ], "type": "object" } }, { "description": "Update a job's status and optional progress percentage. Used by kernels to report job progress.", "inputSchema": { "properties": { "jobId": { "description": "Job ID", "type": "string" }, "progress": { "description": "Progress percentage 0-100 (optional)", "type": "number" }, "status": { "description": "New status (pending, queued, in_progress, paused, completed, failed, cancelled). 'running' is accepted as a legacy alias for in_progress.", "type": "string" } }, "required": [ "jobId", "status" ], "type": "object" }, "name": "update_job_status", "outputSchema": null }, { "description": "Update an existing channel — toggle enabled, rewrite the describe contract, change the endpoint payload, etc. Merges into the existing record. The operator slug, id, and createdAt are immutable.", "inputSchema": { "properties": { "credentialRef": { "type": "string" }, "describe": { "type": "string" }, "direction": { "enum": [ "out", "in-out", "in" ], "type": "string" }, "enabled": { "type": "boolean" }, "endpoint": { "type": "object" }, "id": { "description": "Channel id (returned from attach_operator_channel).", "type": "string" }, "label": { "type": "string" }, "replyContract": { "type": "string" } }, "required": [ "id" ], "type": "object" }, "name": "update_operator_channel", "outputSchema": null }, { "description": "Update an existing protocol template (must be in draft status). Returns updated name and version.", "inputSchema": { "properties": { "description": { "description": "Updated description", "type": "string" }, "id": { "description": "Protocol template ID", "type": "string" }, "name": { "description": "Updated name", "type": "string" }, "parameters": { "description": "Updated parameters array", "type": "array" }, "steps": { "description": "Updated steps array", "type": "array" }, "version": { "description": "New version string (semver)", "type": "string" } }, "required": [ "id" ], "type": "object" }, "name": "update_protocol", "outputSchema": null }, { "description": "Validate a protocol template against a specific kernel — checks capability availability, transfer compatibility, and automation level feasibility.", "inputSchema": { "properties": { "id": { "description": "Protocol template ID", "type": "string" }, "kernelId": { "description": "Kernel ID to validate against (optional)", "type": "string" } }, "required": [ "id" ], "type": "object" }, "name": "validate_protocol", "outputSchema": null }, { "description": "Verify bounty completion by scoring the delivered capability against requirements.", "inputSchema": { "properties": { "bountyId": { "description": "Bounty ID to verify", "type": "string" }, "jobId": { "description": "Job ID that fulfilled the bounty", "type": "string" }, "score": { "description": "Verification score (0-1)", "type": "number" } }, "required": [ "bountyId", "jobId", "score" ], "type": "object" }, "name": "verify_bounty", "outputSchema": null }, { "description": "Verify a ZK proof by its proof ID. Checks the proof against its verification key and public inputs.", "inputSchema": { "properties": { "proofId": { "description": "ID of the ZK proof to verify", "type": "string" } }, "required": [ "proofId" ], "type": "object" }, "name": "verify_evidence_zk", "outputSchema": null } ] }
Verify it yourselfcurl -s https://api.teppi.xyz/v1/evidence/sha256:3767bc5eeed16892f4e95ba2b20bad1fc72974de5bb66a4b1d688c6b8addcf68 | sha256sum