Agent 感測周遭
mc_agent_senseInspect block types, data values, and detect solid blocks or redstone signals in any direction. Read the environment before acting without modifying the world.
Instructions
讀取 Agent 周圍狀態,不改變世界:inspect 看方塊種類、inspectData 看方塊資料值、detect 偵測該方向是否有實體方塊、detectRedstone 偵測紅石訊號。這是 Agent 的「眼睛」,行動前先看。
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": "mc_agent_sense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | inspect | |
| direction | No | forward |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | Yes | ||
| elapsedMs | Yes | ||
| statusCode | Yes | ||
| commandLine | Yes | ||
| statusMessage | Yes |