Blocks
Retrieve Block For Agent
client.agents.blocks.retrieve(stringblockLabel, BlockRetrieveParams { agent_id } params, RequestOptionsoptions?): BlockResponse { id, value, base_template_id, 15 more }
/v1/agents/{agent_id}/core-memory/blocks/{block_label}
Modify Block For Agent
client.agents.blocks.modify(stringblockLabel, BlockModifyParams { agent_id, base_template_id, deployment_id, 13 more } params, RequestOptionsoptions?): BlockResponse { id, value, base_template_id, 15 more }
/v1/agents/{agent_id}/core-memory/blocks/{block_label}
List Blocks For Agent
client.agents.blocks.list(stringagentID, BlockListParams { after, before, limit, 2 more } query?, RequestOptionsoptions?): ArrayPage<BlockResponse { id, value, base_template_id, 15 more } >
/v1/agents/{agent_id}/core-memory/blocks
Attach Block To Agent
client.agents.blocks.attach(stringblockID, BlockAttachParams { agent_id } params, RequestOptionsoptions?): AgentState { id, agent_type, blocks, 39 more }
/v1/agents/{agent_id}/core-memory/blocks/attach/{block_id}
Detach Block From Agent
client.agents.blocks.detach(stringblockID, BlockDetachParams { agent_id } params, RequestOptionsoptions?): AgentState { id, agent_type, blocks, 39 more }
/v1/agents/{agent_id}/core-memory/blocks/detach/{block_id}