mcp-ipfs

by alexbakers
Verified

w3_delegation_create

Create delegations for specific capabilities on the MCP-IPFS server. Specify audience DID, capabilities, and output path to generate a CAR file or base64 identity CID.

Instructions

Tool for w3_delegation_create operation. Requires ABSOLUTE paths for file arguments.

Input Schema

NameRequiredDescriptionDefault
audienceDidYesThe DID of the audience receiving the delegation (e.g., did:key:...).
base64NoFormat output as base64 identity CID string instead of writing to a file.
capabilitiesYesOne or more capabilities to delegate (e.g., ['space/*', 'upload/*']).
nameNoHuman-readable name for the audience.
outputNoABSOLUTE path of file to write the exported delegation CAR file to.
typeNoType of the audience.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "audienceDid": { "description": "The DID of the audience receiving the delegation (e.g., did:key:...).", "type": "string" }, "base64": { "default": false, "description": "Format output as base64 identity CID string instead of writing to a file.", "type": "boolean" }, "capabilities": { "description": "One or more capabilities to delegate (e.g., ['space/*', 'upload/*']).", "items": { "type": "string" }, "minItems": 1, "type": "array" }, "name": { "description": "Human-readable name for the audience.", "type": "string" }, "output": { "description": "ABSOLUTE path of file to write the exported delegation CAR file to.", "type": "string" }, "type": { "description": "Type of the audience.", "enum": [ "device", "app", "service" ], "type": "string" } }, "required": [ "audienceDid", "capabilities" ], "type": "object" }
ID: 1kj9uihg56