clerk.create_machine_scope
Create a machine scope so one machine can access another.
Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account.
Returns the created machine scope.
Cost = 8 tokens.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"machine_id": "<machine_id>",
"to_machine_id": "<to_machine_id>"
},
"name": "clerk.create_machine_scope"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| machine_id | Yes | Clerk machine id (mch_...) to retrieve or modify. | |
| to_machine_id | Yes | Target machine id (mch_...) to grant access to. | |
| clerk_instance_id | No | Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| machine_scope | No | Created machine scope from the Backend API. |