is_grok_bot_tool (src/bot_tools.rs)

grok-build · crates/common/xai-computer-hub-core/src/bot_tools.rs · rust · Apache-2.0
ai, tag:knn-classified

Defines and validates Grok Bot harness tool IDs, descriptions, and default tool sets.

// Source: https://github.com/xai-org/grok-build | License: Apache-2.0 | Copyright 2023-2026 SpaceXAI
// Provided via justclaw.it.com; keep this notice with the code.
//! Wire names of the hub-synthesized Grok Bot harness tools.
//!
//! Single source of truth shared by the hub that registers the tools and
//! by the clients that gate the tools per agent config.

/// Handwritten harness tool ids: every id a hub may register or Plane may
/// allowlist. A hub registers a prefix of this list, so an id can be
/// declared (validated, offered, reserved) before any hub implements it.
pub const GROK_BOT_TOOL_IDS: &[&str] = &[
    "bot_create_agent",
    "bot_list_agents",
    "bot_send_prompt",
    "bot_get_agent_transcript",
    "bot_get_agent_transcript_page",
    "bot_get_agent_transcript_tail"

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key