feat: Add overworld sprite and entrance commands to agent tool
- Implemented new commands for listing overworld sprites and retrieving entrance details. - Enhanced CLI functionality to support filtering by map, world, and sprite ID with JSON and text output formats. - Introduced tile statistics analysis command for detailed tile usage insights. - Updated function schemas and system prompts to reflect the new commands and their parameters.
This commit is contained in:
@@ -48,6 +48,12 @@ absl::StatusOr<std::string> ToolDispatcher::Dispatch(
|
||||
status = HandleOverworldDescribeMapCommand(args, rom_context_);
|
||||
} else if (tool_call.tool_name == "overworld-list-warps") {
|
||||
status = HandleOverworldListWarpsCommand(args, rom_context_);
|
||||
} else if (tool_call.tool_name == "overworld-list-sprites") {
|
||||
status = HandleOverworldListSpritesCommand(args, rom_context_);
|
||||
} else if (tool_call.tool_name == "overworld-get-entrance") {
|
||||
status = HandleOverworldGetEntranceCommand(args, rom_context_);
|
||||
} else if (tool_call.tool_name == "overworld-tile-stats") {
|
||||
status = HandleOverworldTileStatsCommand(args, rom_context_);
|
||||
} else if (tool_call.tool_name == "message-list") {
|
||||
status = HandleMessageListCommand(args, rom_context_);
|
||||
} else if (tool_call.tool_name == "message-read") {
|
||||
|
||||
Reference in New Issue
Block a user