arch
Return the machine architecture string as JSON for platform-conditional logic in agent workflows.
Instructions
Return the machine architecture string (e.g., x86_64, aarch64). Read-only, no side effects. Returns JSON with the architecture name. Use for platform-conditional logic in agent workflows. Not for full system information — use 'uname' for kernel, hostname, and OS details. See also 'uname'.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "arch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Write architecture without a JSON envelope. |