Skip to main content

Module resources

Module resources 

Source
Expand description

agents resources — call the per-response_id MCP listener’s resource ops over its local socket. Subcommands:

  • list --response-id <id> --params <json>resources/list.
  • read --response-id <id> --params <json>resources/read.

--params is the strongly typed MCP request body supplied as a JSON string; the command returns the MCP result.

Modules§

list
agents resources list — run resources/list against the per-response_id MCP listener socket and return the MCP ListResourcesResult. --params is the MCP ListResourcesRequest, supplied as a JSON string (e.g. {} or {"cursor":"..."}).
read
agents resources read — run resources/read against the per-response_id MCP listener socket and return the MCP ReadResourceResult. --params is the MCP ReadResourceRequestParams, supplied as a JSON string (e.g. {"uri":"..."}).

Enums§

Command
Request
ResponseItem

Functions§

execute
execute_transform