[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-elastic-kibana-agent-builder":3,"mdc--iytzh4-key":34,"related-repo-elastic-kibana-agent-builder":3747,"related-org-elastic-kibana-agent-builder":3844},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":29,"sourceUrl":32,"mdContent":33},"kibana-agent-builder","create and manage Kibana Agent Builder agents","Create and manage Agent Builder agents and custom tools in Kibana. Use when asked to create, update, delete, test, or inspect agents or tools in Agent Builder.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"elastic","Elastic","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Felastic.png",[12,16,17,20],{"name":13,"slug":14,"type":15},"Automation","automation","tag",{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},"Kibana","kibana",{"name":21,"slug":22,"type":15},"Agents","agents",531,"https:\u002F\u002Fgithub.com\u002Felastic\u002Fagent-skills","2026-07-12T07:46:55.06381",null,41,[],{"repoUrl":24,"stars":23,"forks":27,"topics":30,"description":31},[],"Official Elastic Skills","https:\u002F\u002Fgithub.com\u002Felastic\u002Fagent-skills\u002Ftree\u002FHEAD\u002Fskills\u002Fkibana\u002Fagent-builder","---\nname: kibana-agent-builder\ndescription: >\n  Create and manage Agent Builder agents and custom tools in Kibana. Use when asked\n  to create, update, delete, test, or inspect agents or tools in Agent Builder.\nmetadata:\n  author: elastic\n  version: 0.2.0\ndisable-model-invocation: true\nallowed-tools: Bash(node *), Read, Glob, Grep\nargument-hint: '[agent-name]'\n---\n\n# Manage Agent Builder Agents and Tools in Kibana\n\nCreate, update, delete, inspect, and chat with Agent Builder agents. Create, update, delete, list, and test custom tools\n(ES|QL, index search, workflow). If the user provided a name, use **$ARGUMENTS** as the default agent name.\n\n## Prerequisites\n\nSet these environment variables before running any script:\n\n| Variable          | Required | Description                                                                    |\n| ----------------- | -------- | ------------------------------------------------------------------------------ |\n| `KIBANA_URL`      | Yes      | Kibana base URL (e.g., `https:\u002F\u002Fmy-deployment.kb.us-east-1.aws.elastic.cloud`) |\n| `KIBANA_API_KEY`  | No       | API key for authentication (preferred)                                         |\n| `KIBANA_USERNAME` | No       | Username for basic auth (falls back to `ELASTICSEARCH_USERNAME`)               |\n| `KIBANA_PASSWORD` | No       | Password for basic auth (falls back to `ELASTICSEARCH_PASSWORD`)               |\n| `KIBANA_SPACE_ID` | No       | Kibana space ID (omit for default space)                                       |\n| `KIBANA_INSECURE` | No       | Set to `true` to skip TLS verification                                         |\n\nProvide either `KIBANA_API_KEY` or `KIBANA_USERNAME` + `KIBANA_PASSWORD`.\n\n## Agent Management\n\n### Create an Agent\n\n#### Step 1: List available tools\n\n```bash\nnode skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js list-tools\n```\n\nIf the script reports a connection error, stop and tell the user to verify their `KIBANA_URL` and authentication\nenvironment variables.\n\nReview the list of available tools. Tools prefixed with `platform.core.` are built-in. Other tools are custom or\nconnector-provided.\n\n#### Step 2: List existing agents\n\n```bash\nnode skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js list-agents\n```\n\nThis helps avoid name conflicts and shows what is already configured.\n\n#### Step 3: Gather agent details\n\nUsing `$ARGUMENTS` as the default name, confirm or collect from the user:\n\n1. **Name** (required) — The agent's display name. Default: `$ARGUMENTS`.\n2. **Description** (optional) — Brief description of what the agent does. Default: same as name.\n3. **System instructions** (optional) — Custom system prompt for the agent. Default: none.\n\n#### Step 4: Select tools\n\nPresent the available tools from Step 1 and ask the user which ones to include. Suggest a reasonable default based on\nthe agent's purpose. Let the user add or remove tools from the suggested list.\n\n#### Step 5: Create the agent\n\n```bash\nnode skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js create-agent \\\n  --name \"\u003Cagent_name>\" \\\n  --description \"\u003Cdescription>\" \\\n  --instructions \"\u003Csystem_instructions>\" \\\n  --tool-ids \"\u003Ctool_id_1>,\u003Ctool_id_2>,\u003Ctool_id_3>\"\n```\n\nWhere:\n\n- `--name` is required\n- `--tool-ids` is a comma-separated list of tool IDs from Step 4\n- `--description` defaults to the name if omitted\n- `--instructions` can be omitted if the user did not provide any\n\n#### Step 6: Verify creation\n\n```bash\nnode skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js list-agents\n```\n\nShow the user the newly created agent entry. If it appears, report success. If not, show any error output from Step 5.\n\n### Get an Agent\n\n```bash\nnode skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js get-agent --id \"\u003Cagent_id>\"\n```\n\n### Update an Agent\n\n```bash\nnode skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js update-agent \\\n  --id \"\u003Cagent_id>\" \\\n  --description \"\u003Cnew_description>\" \\\n  --instructions \"\u003Cnew_instructions>\" \\\n  --tool-ids \"\u003Ctool_id_1>,\u003Ctool_id_2>\"\n```\n\nAll flags except `--id` are optional — only provided fields are updated. The agent's `id` and `name` are immutable.\n\n> **API constraint**: PUT only accepts `description`, `configuration`, and `tags`. Including `id`, `name`, or `type`\n> causes a 400 error.\n\n### Delete an Agent\n\n```bash\nnode skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js delete-agent --id \"\u003Cagent_id>\"\n```\n\nAlways confirm with the user before deleting. Deletion is permanent.\n\n### Chat with an Agent\n\n```bash\nnode skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js chat \\\n  --id \"\u003Cagent_id>\" \\\n  --message \"\u003Cuser_message>\"\n```\n\nUses the streaming endpoint `POST \u002Fapi\u002Fagent_builder\u002Fconverse\u002Fasync` with `agent_id` and `input` in the request body.\nOutput shows `[Reasoning]`, `[Tool Call]`, `[Tool Result]`, and `[Response]` as events arrive. Pass `--conversation-id`\nto continue an existing conversation.\n\n**Note:** This command may take 30-60 seconds as the agent reasons and calls tools. Use a longer timeout (e.g., 120s or\n180s) when running via Bash.\n\n## Tool Management\n\nCustom tools extend what agents can do beyond the built-in platform tools.\n\n### Tool Types\n\n#### ES|QL Tools\n\nPre-defined, parameterized ES|QL queries. Use when you need guaranteed query correctness, enforced business rules,\nanalytics aggregations, or fine-grained data access control.\n\n**Parameter syntax**: Use `?param_name` in the query. Define each parameter with `type` and `description` only. Valid\ntypes: `string`, `integer`, `float`, `boolean`, `date`, `array`.\n\n```json\n{\n  \"id\": \"campaign_revenue_by_region\",\n  \"type\": \"esql\",\n  \"description\": \"Calculates confirmed revenue for a region by quarter.\",\n  \"configuration\": {\n    \"query\": \"FROM finance-orders-* | WHERE order_status == \\\"completed\\\" AND region == ?region | STATS total_revenue = SUM(amount) BY quarter | LIMIT 10\",\n    \"params\": {\n      \"region\": {\n        \"type\": \"string\",\n        \"description\": \"Region code, e.g. 'US', 'EU', 'APAC'\"\n      }\n    }\n  }\n}\n```\n\n#### Index Search Tools\n\nScope the built-in search capability to a specific index pattern. The LLM decides how to query; you control which\nindices are accessible.\n\n```json\n{\n  \"id\": \"customer_feedback_search\",\n  \"type\": \"index_search\",\n  \"description\": \"Searches customer feedback and support tickets.\",\n  \"configuration\": {\n    \"pattern\": \"customer-feedback-*\"\n  }\n}\n```\n\n#### Workflow Tools\n\nConnect an agent to an Elastic Workflow — a YAML-defined multi-step automation. Use when the agent needs to take action\nbeyond data retrieval (send notifications, create tickets, call external APIs).\n\n```json\n{\n  \"id\": \"investigate-alert-workflow\",\n  \"type\": \"workflow\",\n  \"description\": \"Triggers automated alert investigation.\",\n  \"configuration\": {\n    \"workflow_id\": \"security-alert-investigation\"\n  }\n}\n```\n\nParameters are auto-detected from the workflow's `inputs` section.\n\n### Tool API Constraints\n\n> Read these before creating tools — violations cause 400 errors.\n\n- **POST body fields**: Only `id`, `type`, `description`, `configuration`, and `tags` are accepted. `name` is **not** a\n  valid field — omit it entirely.\n- **`params` is always required** for ES|QL tools, even when empty — use `\"params\": {}`.\n- **Param fields**: Only `type` and `description` are accepted per parameter. `default` and `optional` are **not valid**\n  and cause 400 errors. Hard-code sensible defaults in the query instead.\n- **Index search config**: Use `\"pattern\"`, **not** `\"index\"`. Using `\"index\"` causes a validation error.\n- **PUT restrictions**: Only `description`, `configuration`, and `tags` are accepted. Including `id` or `type` causes a\n  400 error — these fields are immutable after creation.\n\n### Tool Script Commands\n\n#### List all tools\n\n```bash\nnode skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js list-custom-tools\n```\n\n#### Get a specific tool\n\n```bash\nnode skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js get-tool --id \"\u003Ctool_id>\"\n```\n\n#### Create a tool\n\n```bash\nnode skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js create-tool \\\n  --id \"\u003Ctool_id>\" \\\n  --type \"esql\" \\\n  --description \"\u003Cdescription>\" \\\n  --query \"\u003Cesql_query>\" \\\n  --params '{\"region\": {\"type\": \"string\", \"description\": \"Region code\"}}'\n```\n\nFor index search tools:\n\n```bash\nnode skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js create-tool \\\n  --id \"\u003Ctool_id>\" \\\n  --type \"index_search\" \\\n  --description \"\u003Cdescription>\" \\\n  --pattern \"my-index-*\"\n```\n\nFor workflow tools:\n\n```bash\nnode skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js create-tool \\\n  --id \"\u003Ctool_id>\" \\\n  --type \"workflow\" \\\n  --description \"\u003Cdescription>\" \\\n  --workflow-id \"my-workflow-name\"\n```\n\n#### Update a tool\n\n```bash\nnode skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js update-tool \\\n  --id \"\u003Ctool_id>\" \\\n  --description \"\u003Cnew_description>\" \\\n  --query \"\u003Cnew_query>\"\n```\n\nOnly `description`, `configuration`, and `tags` can be updated. `id` and `type` are immutable.\n\n#### Delete a tool\n\n```bash\nnode skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js delete-tool --id \"\u003Ctool_id>\"\n```\n\n#### Test a tool\n\n```bash\nnode skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js test-tool \\\n  --id \"\u003Ctool_id>\" \\\n  --params '{\"region\": \"US\"}'\n```\n\nExecutes the tool via `POST \u002Fapi\u002Fagent_builder\u002Ftools\u002F_execute` and displays column names and row counts for ES|QL\nresults.\n\n## Examples\n\n### Create an agent\n\n```text\nUser: \u002Fkibana-agent-builder sales-helper\n```\n\n1. List tools — finds `platform.core.search`, `platform.core.list_indices`, and a custom `esql-sales-data` tool\n2. List agents — no conflicts\n3. Name: \"sales-helper\", Description: \"Helps query sales data\"\n4. Tools: `esql-sales-data`, `platform.core.search`, `platform.core.list_indices`\n5. Create with `--name \"sales-helper\" --tool-ids \"esql-sales-data,platform.core.search,platform.core.list_indices\"`\n6. Verify — agent appears in list\n\n### Update an agent's instructions\n\n```text\nUser: Update the sales-helper agent to focus on the APAC region\n```\n\n1. Get agent — `get-agent --id \"sales-helper\"` to see current config\n2. Update —\n   `update-agent --id \"sales-helper\" --instructions \"Focus on APAC sales data. Use esql-sales-data for queries.\"`\n3. Verify — `get-agent --id \"sales-helper\"` to confirm new instructions\n\n### Chat with an agent\n\n```text\nUser: Ask sales-helper what the top revenue products are\n```\n\n1. Chat — `chat --id \"sales-helper\" --message \"What are the top revenue products?\"`\n2. Display the agent's response\n\n### Create an ES|QL tool with parameters\n\n```text\nUser: Create a tool that shows billing complaints by category for the last N days\n```\n\n1. Consult the `elasticsearch-esql` skill for ES|QL syntax\n2. Create tool:\n\n   ```bash\n   node skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js create-tool \\\n     --id \"billing_complaint_summary\" \\\n     --type \"esql\" \\\n     --description \"Returns billing complaints grouped by sub-category for the last N days.\" \\\n     --query \"FROM customer-feedback-* | WHERE @timestamp >= NOW() - ?days::integer * 1d AND MATCH(feedback_text, 'billing') | STATS count = COUNT(*) BY sub_category | SORT count DESC | LIMIT 10\" \\\n     --params '{\"days\": {\"type\": \"integer\", \"description\": \"Number of days to look back\"}}'\n   ```\n\n3. Test: `test-tool --id \"billing_complaint_summary\" --params '{\"days\": 30}'`\n\n### Create an index search tool\n\n```text\nUser: Create a tool to search support transcripts\n```\n\n```bash\nnode skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js create-tool \\\n  --id \"transcript_search\" \\\n  --type \"index_search\" \\\n  --description \"Searches support call transcripts by topic, agent, or customer issue.\" \\\n  --pattern \"support-transcripts\"\n```\n\n## References\n\nRead these for detailed guidance:\n\n- `references\u002Farchitecture-guide.md` — Core concepts, built-in tools, context engineering, best practices, token\n  optimization, REST API endpoints, MCP\u002FA2A integration, permissions\n- `references\u002Fuse-cases.md` — Full playbooks for Customer Feedback Analysis, Marketing Campaign Analysis, and Contract\n  Analysis agents\n\nFor ES|QL syntax, functions, operators, and parameter rules, use the `elasticsearch-esql` skill. For workflow YAML\nstructure, trigger types, step types, and agent-workflow patterns, use the `security-workflows` skill.\n\n## Guidelines\n\n- Always run `list-tools` before creating an agent so the user can choose from real, available tools.\n- Always run `list-agents` before and after creation to detect conflicts and verify success.\n- Do not invent tool IDs — only use IDs returned by `list-tools`.\n- If no custom tools exist yet, suggest creating one or using the built-in platform tools.\n- The agent ID is auto-generated from the name (lowercased, hyphens, alphanumeric only).\n- For non-default Kibana spaces, set `KIBANA_SPACE_ID` before running the script.\n- Confirm with the user before running `delete-agent` or `delete-tool` — deletion is permanent.\n- Always include `| LIMIT N` in ES|QL queries to prevent context window overflow.\n- Write descriptive tool descriptions — the agent decides which tool to call based solely on the description.\n- Scope index search tools narrowly (e.g., `customer-feedback-*` not `*`).\n- Use `KEEP` to return only needed columns and reduce token consumption.\n- Validate ES|QL queries with `test-tool` before assigning to an agent.\n- For ES|QL tools with no parameters, still include `\"params\": {}`.\n",{"data":35,"body":41},{"name":4,"description":6,"metadata":36,"disable-model-invocation":38,"allowed-tools":39,"argument-hint":40},{"author":8,"version":37},"0.2.0",true,"Bash(node *), Read, Glob, Grep","[agent-name]",{"type":42,"children":43},"root",[44,53,67,74,79,271,297,303,310,317,351,363,376,382,405,410,416,428,468,474,479,485,618,623,671,677,698,703,709,750,756,875,904,963,969,1008,1013,1019,1090,1155,1165,1171,1176,1182,1188,1193,1266,1636,1642,1647,1839,1845,1850,2042,2055,2061,2069,2271,2277,2283,2306,2312,2352,2358,2503,2508,2624,2629,2745,2751,2844,2880,2886,2925,2931,3001,3014,3020,3026,3036,3115,3121,3130,3169,3175,3184,3203,3209,3218,3391,3397,3406,3523,3529,3534,3559,3579,3585,3741],{"type":45,"tag":46,"props":47,"children":49},"element","h1",{"id":48},"manage-agent-builder-agents-and-tools-in-kibana",[50],{"type":51,"value":52},"text","Manage Agent Builder Agents and Tools in Kibana",{"type":45,"tag":54,"props":55,"children":56},"p",{},[57,59,65],{"type":51,"value":58},"Create, update, delete, inspect, and chat with Agent Builder agents. Create, update, delete, list, and test custom tools\n(ES|QL, index search, workflow). If the user provided a name, use ",{"type":45,"tag":60,"props":61,"children":62},"strong",{},[63],{"type":51,"value":64},"$ARGUMENTS",{"type":51,"value":66}," as the default agent name.",{"type":45,"tag":68,"props":69,"children":71},"h2",{"id":70},"prerequisites",[72],{"type":51,"value":73},"Prerequisites",{"type":45,"tag":54,"props":75,"children":76},{},[77],{"type":51,"value":78},"Set these environment variables before running any script:",{"type":45,"tag":80,"props":81,"children":82},"table",{},[83,107],{"type":45,"tag":84,"props":85,"children":86},"thead",{},[87],{"type":45,"tag":88,"props":89,"children":90},"tr",{},[91,97,102],{"type":45,"tag":92,"props":93,"children":94},"th",{},[95],{"type":51,"value":96},"Variable",{"type":45,"tag":92,"props":98,"children":99},{},[100],{"type":51,"value":101},"Required",{"type":45,"tag":92,"props":103,"children":104},{},[105],{"type":51,"value":106},"Description",{"type":45,"tag":108,"props":109,"children":110},"tbody",{},[111,143,165,193,221,242],{"type":45,"tag":88,"props":112,"children":113},{},[114,125,130],{"type":45,"tag":115,"props":116,"children":117},"td",{},[118],{"type":45,"tag":119,"props":120,"children":122},"code",{"className":121},[],[123],{"type":51,"value":124},"KIBANA_URL",{"type":45,"tag":115,"props":126,"children":127},{},[128],{"type":51,"value":129},"Yes",{"type":45,"tag":115,"props":131,"children":132},{},[133,135,141],{"type":51,"value":134},"Kibana base URL (e.g., ",{"type":45,"tag":119,"props":136,"children":138},{"className":137},[],[139],{"type":51,"value":140},"https:\u002F\u002Fmy-deployment.kb.us-east-1.aws.elastic.cloud",{"type":51,"value":142},")",{"type":45,"tag":88,"props":144,"children":145},{},[146,155,160],{"type":45,"tag":115,"props":147,"children":148},{},[149],{"type":45,"tag":119,"props":150,"children":152},{"className":151},[],[153],{"type":51,"value":154},"KIBANA_API_KEY",{"type":45,"tag":115,"props":156,"children":157},{},[158],{"type":51,"value":159},"No",{"type":45,"tag":115,"props":161,"children":162},{},[163],{"type":51,"value":164},"API key for authentication (preferred)",{"type":45,"tag":88,"props":166,"children":167},{},[168,177,181],{"type":45,"tag":115,"props":169,"children":170},{},[171],{"type":45,"tag":119,"props":172,"children":174},{"className":173},[],[175],{"type":51,"value":176},"KIBANA_USERNAME",{"type":45,"tag":115,"props":178,"children":179},{},[180],{"type":51,"value":159},{"type":45,"tag":115,"props":182,"children":183},{},[184,186,192],{"type":51,"value":185},"Username for basic auth (falls back to ",{"type":45,"tag":119,"props":187,"children":189},{"className":188},[],[190],{"type":51,"value":191},"ELASTICSEARCH_USERNAME",{"type":51,"value":142},{"type":45,"tag":88,"props":194,"children":195},{},[196,205,209],{"type":45,"tag":115,"props":197,"children":198},{},[199],{"type":45,"tag":119,"props":200,"children":202},{"className":201},[],[203],{"type":51,"value":204},"KIBANA_PASSWORD",{"type":45,"tag":115,"props":206,"children":207},{},[208],{"type":51,"value":159},{"type":45,"tag":115,"props":210,"children":211},{},[212,214,220],{"type":51,"value":213},"Password for basic auth (falls back to ",{"type":45,"tag":119,"props":215,"children":217},{"className":216},[],[218],{"type":51,"value":219},"ELASTICSEARCH_PASSWORD",{"type":51,"value":142},{"type":45,"tag":88,"props":222,"children":223},{},[224,233,237],{"type":45,"tag":115,"props":225,"children":226},{},[227],{"type":45,"tag":119,"props":228,"children":230},{"className":229},[],[231],{"type":51,"value":232},"KIBANA_SPACE_ID",{"type":45,"tag":115,"props":234,"children":235},{},[236],{"type":51,"value":159},{"type":45,"tag":115,"props":238,"children":239},{},[240],{"type":51,"value":241},"Kibana space ID (omit for default space)",{"type":45,"tag":88,"props":243,"children":244},{},[245,254,258],{"type":45,"tag":115,"props":246,"children":247},{},[248],{"type":45,"tag":119,"props":249,"children":251},{"className":250},[],[252],{"type":51,"value":253},"KIBANA_INSECURE",{"type":45,"tag":115,"props":255,"children":256},{},[257],{"type":51,"value":159},{"type":45,"tag":115,"props":259,"children":260},{},[261,263,269],{"type":51,"value":262},"Set to ",{"type":45,"tag":119,"props":264,"children":266},{"className":265},[],[267],{"type":51,"value":268},"true",{"type":51,"value":270}," to skip TLS verification",{"type":45,"tag":54,"props":272,"children":273},{},[274,276,281,283,288,290,295],{"type":51,"value":275},"Provide either ",{"type":45,"tag":119,"props":277,"children":279},{"className":278},[],[280],{"type":51,"value":154},{"type":51,"value":282}," or ",{"type":45,"tag":119,"props":284,"children":286},{"className":285},[],[287],{"type":51,"value":176},{"type":51,"value":289}," + ",{"type":45,"tag":119,"props":291,"children":293},{"className":292},[],[294],{"type":51,"value":204},{"type":51,"value":296},".",{"type":45,"tag":68,"props":298,"children":300},{"id":299},"agent-management",[301],{"type":51,"value":302},"Agent Management",{"type":45,"tag":304,"props":305,"children":307},"h3",{"id":306},"create-an-agent",[308],{"type":51,"value":309},"Create an Agent",{"type":45,"tag":311,"props":312,"children":314},"h4",{"id":313},"step-1-list-available-tools",[315],{"type":51,"value":316},"Step 1: List available tools",{"type":45,"tag":318,"props":319,"children":324},"pre",{"className":320,"code":321,"language":322,"meta":323,"style":323},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","node skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js list-tools\n","bash","",[325],{"type":45,"tag":119,"props":326,"children":327},{"__ignoreMap":323},[328],{"type":45,"tag":329,"props":330,"children":333},"span",{"class":331,"line":332},"line",1,[334,340,346],{"type":45,"tag":329,"props":335,"children":337},{"style":336},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[338],{"type":51,"value":339},"node",{"type":45,"tag":329,"props":341,"children":343},{"style":342},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[344],{"type":51,"value":345}," skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js",{"type":45,"tag":329,"props":347,"children":348},{"style":342},[349],{"type":51,"value":350}," list-tools\n",{"type":45,"tag":54,"props":352,"children":353},{},[354,356,361],{"type":51,"value":355},"If the script reports a connection error, stop and tell the user to verify their ",{"type":45,"tag":119,"props":357,"children":359},{"className":358},[],[360],{"type":51,"value":124},{"type":51,"value":362}," and authentication\nenvironment variables.",{"type":45,"tag":54,"props":364,"children":365},{},[366,368,374],{"type":51,"value":367},"Review the list of available tools. Tools prefixed with ",{"type":45,"tag":119,"props":369,"children":371},{"className":370},[],[372],{"type":51,"value":373},"platform.core.",{"type":51,"value":375}," are built-in. Other tools are custom or\nconnector-provided.",{"type":45,"tag":311,"props":377,"children":379},{"id":378},"step-2-list-existing-agents",[380],{"type":51,"value":381},"Step 2: List existing agents",{"type":45,"tag":318,"props":383,"children":385},{"className":320,"code":384,"language":322,"meta":323,"style":323},"node skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js list-agents\n",[386],{"type":45,"tag":119,"props":387,"children":388},{"__ignoreMap":323},[389],{"type":45,"tag":329,"props":390,"children":391},{"class":331,"line":332},[392,396,400],{"type":45,"tag":329,"props":393,"children":394},{"style":336},[395],{"type":51,"value":339},{"type":45,"tag":329,"props":397,"children":398},{"style":342},[399],{"type":51,"value":345},{"type":45,"tag":329,"props":401,"children":402},{"style":342},[403],{"type":51,"value":404}," list-agents\n",{"type":45,"tag":54,"props":406,"children":407},{},[408],{"type":51,"value":409},"This helps avoid name conflicts and shows what is already configured.",{"type":45,"tag":311,"props":411,"children":413},{"id":412},"step-3-gather-agent-details",[414],{"type":51,"value":415},"Step 3: Gather agent details",{"type":45,"tag":54,"props":417,"children":418},{},[419,421,426],{"type":51,"value":420},"Using ",{"type":45,"tag":119,"props":422,"children":424},{"className":423},[],[425],{"type":51,"value":64},{"type":51,"value":427}," as the default name, confirm or collect from the user:",{"type":45,"tag":429,"props":430,"children":431},"ol",{},[432,449,458],{"type":45,"tag":433,"props":434,"children":435},"li",{},[436,441,443,448],{"type":45,"tag":60,"props":437,"children":438},{},[439],{"type":51,"value":440},"Name",{"type":51,"value":442}," (required) — The agent's display name. Default: ",{"type":45,"tag":119,"props":444,"children":446},{"className":445},[],[447],{"type":51,"value":64},{"type":51,"value":296},{"type":45,"tag":433,"props":450,"children":451},{},[452,456],{"type":45,"tag":60,"props":453,"children":454},{},[455],{"type":51,"value":106},{"type":51,"value":457}," (optional) — Brief description of what the agent does. Default: same as name.",{"type":45,"tag":433,"props":459,"children":460},{},[461,466],{"type":45,"tag":60,"props":462,"children":463},{},[464],{"type":51,"value":465},"System instructions",{"type":51,"value":467}," (optional) — Custom system prompt for the agent. Default: none.",{"type":45,"tag":311,"props":469,"children":471},{"id":470},"step-4-select-tools",[472],{"type":51,"value":473},"Step 4: Select tools",{"type":45,"tag":54,"props":475,"children":476},{},[477],{"type":51,"value":478},"Present the available tools from Step 1 and ask the user which ones to include. Suggest a reasonable default based on\nthe agent's purpose. Let the user add or remove tools from the suggested list.",{"type":45,"tag":311,"props":480,"children":482},{"id":481},"step-5-create-the-agent",[483],{"type":51,"value":484},"Step 5: Create the agent",{"type":45,"tag":318,"props":486,"children":488},{"className":320,"code":487,"language":322,"meta":323,"style":323},"node skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js create-agent \\\n  --name \"\u003Cagent_name>\" \\\n  --description \"\u003Cdescription>\" \\\n  --instructions \"\u003Csystem_instructions>\" \\\n  --tool-ids \"\u003Ctool_id_1>,\u003Ctool_id_2>,\u003Ctool_id_3>\"\n",[489],{"type":45,"tag":119,"props":490,"children":491},{"__ignoreMap":323},[492,514,543,569,595],{"type":45,"tag":329,"props":493,"children":494},{"class":331,"line":332},[495,499,503,508],{"type":45,"tag":329,"props":496,"children":497},{"style":336},[498],{"type":51,"value":339},{"type":45,"tag":329,"props":500,"children":501},{"style":342},[502],{"type":51,"value":345},{"type":45,"tag":329,"props":504,"children":505},{"style":342},[506],{"type":51,"value":507}," create-agent",{"type":45,"tag":329,"props":509,"children":511},{"style":510},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[512],{"type":51,"value":513}," \\\n",{"type":45,"tag":329,"props":515,"children":517},{"class":331,"line":516},2,[518,523,529,534,539],{"type":45,"tag":329,"props":519,"children":520},{"style":342},[521],{"type":51,"value":522},"  --name",{"type":45,"tag":329,"props":524,"children":526},{"style":525},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[527],{"type":51,"value":528}," \"",{"type":45,"tag":329,"props":530,"children":531},{"style":342},[532],{"type":51,"value":533},"\u003Cagent_name>",{"type":45,"tag":329,"props":535,"children":536},{"style":525},[537],{"type":51,"value":538},"\"",{"type":45,"tag":329,"props":540,"children":541},{"style":510},[542],{"type":51,"value":513},{"type":45,"tag":329,"props":544,"children":546},{"class":331,"line":545},3,[547,552,556,561,565],{"type":45,"tag":329,"props":548,"children":549},{"style":342},[550],{"type":51,"value":551},"  --description",{"type":45,"tag":329,"props":553,"children":554},{"style":525},[555],{"type":51,"value":528},{"type":45,"tag":329,"props":557,"children":558},{"style":342},[559],{"type":51,"value":560},"\u003Cdescription>",{"type":45,"tag":329,"props":562,"children":563},{"style":525},[564],{"type":51,"value":538},{"type":45,"tag":329,"props":566,"children":567},{"style":510},[568],{"type":51,"value":513},{"type":45,"tag":329,"props":570,"children":572},{"class":331,"line":571},4,[573,578,582,587,591],{"type":45,"tag":329,"props":574,"children":575},{"style":342},[576],{"type":51,"value":577},"  --instructions",{"type":45,"tag":329,"props":579,"children":580},{"style":525},[581],{"type":51,"value":528},{"type":45,"tag":329,"props":583,"children":584},{"style":342},[585],{"type":51,"value":586},"\u003Csystem_instructions>",{"type":45,"tag":329,"props":588,"children":589},{"style":525},[590],{"type":51,"value":538},{"type":45,"tag":329,"props":592,"children":593},{"style":510},[594],{"type":51,"value":513},{"type":45,"tag":329,"props":596,"children":598},{"class":331,"line":597},5,[599,604,608,613],{"type":45,"tag":329,"props":600,"children":601},{"style":342},[602],{"type":51,"value":603},"  --tool-ids",{"type":45,"tag":329,"props":605,"children":606},{"style":525},[607],{"type":51,"value":528},{"type":45,"tag":329,"props":609,"children":610},{"style":342},[611],{"type":51,"value":612},"\u003Ctool_id_1>,\u003Ctool_id_2>,\u003Ctool_id_3>",{"type":45,"tag":329,"props":614,"children":615},{"style":525},[616],{"type":51,"value":617},"\"\n",{"type":45,"tag":54,"props":619,"children":620},{},[621],{"type":51,"value":622},"Where:",{"type":45,"tag":624,"props":625,"children":626},"ul",{},[627,638,649,660],{"type":45,"tag":433,"props":628,"children":629},{},[630,636],{"type":45,"tag":119,"props":631,"children":633},{"className":632},[],[634],{"type":51,"value":635},"--name",{"type":51,"value":637}," is required",{"type":45,"tag":433,"props":639,"children":640},{},[641,647],{"type":45,"tag":119,"props":642,"children":644},{"className":643},[],[645],{"type":51,"value":646},"--tool-ids",{"type":51,"value":648}," is a comma-separated list of tool IDs from Step 4",{"type":45,"tag":433,"props":650,"children":651},{},[652,658],{"type":45,"tag":119,"props":653,"children":655},{"className":654},[],[656],{"type":51,"value":657},"--description",{"type":51,"value":659}," defaults to the name if omitted",{"type":45,"tag":433,"props":661,"children":662},{},[663,669],{"type":45,"tag":119,"props":664,"children":666},{"className":665},[],[667],{"type":51,"value":668},"--instructions",{"type":51,"value":670}," can be omitted if the user did not provide any",{"type":45,"tag":311,"props":672,"children":674},{"id":673},"step-6-verify-creation",[675],{"type":51,"value":676},"Step 6: Verify creation",{"type":45,"tag":318,"props":678,"children":679},{"className":320,"code":384,"language":322,"meta":323,"style":323},[680],{"type":45,"tag":119,"props":681,"children":682},{"__ignoreMap":323},[683],{"type":45,"tag":329,"props":684,"children":685},{"class":331,"line":332},[686,690,694],{"type":45,"tag":329,"props":687,"children":688},{"style":336},[689],{"type":51,"value":339},{"type":45,"tag":329,"props":691,"children":692},{"style":342},[693],{"type":51,"value":345},{"type":45,"tag":329,"props":695,"children":696},{"style":342},[697],{"type":51,"value":404},{"type":45,"tag":54,"props":699,"children":700},{},[701],{"type":51,"value":702},"Show the user the newly created agent entry. If it appears, report success. If not, show any error output from Step 5.",{"type":45,"tag":304,"props":704,"children":706},{"id":705},"get-an-agent",[707],{"type":51,"value":708},"Get an Agent",{"type":45,"tag":318,"props":710,"children":712},{"className":320,"code":711,"language":322,"meta":323,"style":323},"node skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js get-agent --id \"\u003Cagent_id>\"\n",[713],{"type":45,"tag":119,"props":714,"children":715},{"__ignoreMap":323},[716],{"type":45,"tag":329,"props":717,"children":718},{"class":331,"line":332},[719,723,727,732,737,741,746],{"type":45,"tag":329,"props":720,"children":721},{"style":336},[722],{"type":51,"value":339},{"type":45,"tag":329,"props":724,"children":725},{"style":342},[726],{"type":51,"value":345},{"type":45,"tag":329,"props":728,"children":729},{"style":342},[730],{"type":51,"value":731}," get-agent",{"type":45,"tag":329,"props":733,"children":734},{"style":342},[735],{"type":51,"value":736}," --id",{"type":45,"tag":329,"props":738,"children":739},{"style":525},[740],{"type":51,"value":528},{"type":45,"tag":329,"props":742,"children":743},{"style":342},[744],{"type":51,"value":745},"\u003Cagent_id>",{"type":45,"tag":329,"props":747,"children":748},{"style":525},[749],{"type":51,"value":617},{"type":45,"tag":304,"props":751,"children":753},{"id":752},"update-an-agent",[754],{"type":51,"value":755},"Update an Agent",{"type":45,"tag":318,"props":757,"children":759},{"className":320,"code":758,"language":322,"meta":323,"style":323},"node skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js update-agent \\\n  --id \"\u003Cagent_id>\" \\\n  --description \"\u003Cnew_description>\" \\\n  --instructions \"\u003Cnew_instructions>\" \\\n  --tool-ids \"\u003Ctool_id_1>,\u003Ctool_id_2>\"\n",[760],{"type":45,"tag":119,"props":761,"children":762},{"__ignoreMap":323},[763,783,807,831,855],{"type":45,"tag":329,"props":764,"children":765},{"class":331,"line":332},[766,770,774,779],{"type":45,"tag":329,"props":767,"children":768},{"style":336},[769],{"type":51,"value":339},{"type":45,"tag":329,"props":771,"children":772},{"style":342},[773],{"type":51,"value":345},{"type":45,"tag":329,"props":775,"children":776},{"style":342},[777],{"type":51,"value":778}," update-agent",{"type":45,"tag":329,"props":780,"children":781},{"style":510},[782],{"type":51,"value":513},{"type":45,"tag":329,"props":784,"children":785},{"class":331,"line":516},[786,791,795,799,803],{"type":45,"tag":329,"props":787,"children":788},{"style":342},[789],{"type":51,"value":790},"  --id",{"type":45,"tag":329,"props":792,"children":793},{"style":525},[794],{"type":51,"value":528},{"type":45,"tag":329,"props":796,"children":797},{"style":342},[798],{"type":51,"value":745},{"type":45,"tag":329,"props":800,"children":801},{"style":525},[802],{"type":51,"value":538},{"type":45,"tag":329,"props":804,"children":805},{"style":510},[806],{"type":51,"value":513},{"type":45,"tag":329,"props":808,"children":809},{"class":331,"line":545},[810,814,818,823,827],{"type":45,"tag":329,"props":811,"children":812},{"style":342},[813],{"type":51,"value":551},{"type":45,"tag":329,"props":815,"children":816},{"style":525},[817],{"type":51,"value":528},{"type":45,"tag":329,"props":819,"children":820},{"style":342},[821],{"type":51,"value":822},"\u003Cnew_description>",{"type":45,"tag":329,"props":824,"children":825},{"style":525},[826],{"type":51,"value":538},{"type":45,"tag":329,"props":828,"children":829},{"style":510},[830],{"type":51,"value":513},{"type":45,"tag":329,"props":832,"children":833},{"class":331,"line":571},[834,838,842,847,851],{"type":45,"tag":329,"props":835,"children":836},{"style":342},[837],{"type":51,"value":577},{"type":45,"tag":329,"props":839,"children":840},{"style":525},[841],{"type":51,"value":528},{"type":45,"tag":329,"props":843,"children":844},{"style":342},[845],{"type":51,"value":846},"\u003Cnew_instructions>",{"type":45,"tag":329,"props":848,"children":849},{"style":525},[850],{"type":51,"value":538},{"type":45,"tag":329,"props":852,"children":853},{"style":510},[854],{"type":51,"value":513},{"type":45,"tag":329,"props":856,"children":857},{"class":331,"line":597},[858,862,866,871],{"type":45,"tag":329,"props":859,"children":860},{"style":342},[861],{"type":51,"value":603},{"type":45,"tag":329,"props":863,"children":864},{"style":525},[865],{"type":51,"value":528},{"type":45,"tag":329,"props":867,"children":868},{"style":342},[869],{"type":51,"value":870},"\u003Ctool_id_1>,\u003Ctool_id_2>",{"type":45,"tag":329,"props":872,"children":873},{"style":525},[874],{"type":51,"value":617},{"type":45,"tag":54,"props":876,"children":877},{},[878,880,886,888,894,896,902],{"type":51,"value":879},"All flags except ",{"type":45,"tag":119,"props":881,"children":883},{"className":882},[],[884],{"type":51,"value":885},"--id",{"type":51,"value":887}," are optional — only provided fields are updated. The agent's ",{"type":45,"tag":119,"props":889,"children":891},{"className":890},[],[892],{"type":51,"value":893},"id",{"type":51,"value":895}," and ",{"type":45,"tag":119,"props":897,"children":899},{"className":898},[],[900],{"type":51,"value":901},"name",{"type":51,"value":903}," are immutable.",{"type":45,"tag":905,"props":906,"children":907},"blockquote",{},[908],{"type":45,"tag":54,"props":909,"children":910},{},[911,916,918,924,926,932,934,940,942,947,948,953,955,961],{"type":45,"tag":60,"props":912,"children":913},{},[914],{"type":51,"value":915},"API constraint",{"type":51,"value":917},": PUT only accepts ",{"type":45,"tag":119,"props":919,"children":921},{"className":920},[],[922],{"type":51,"value":923},"description",{"type":51,"value":925},", ",{"type":45,"tag":119,"props":927,"children":929},{"className":928},[],[930],{"type":51,"value":931},"configuration",{"type":51,"value":933},", and ",{"type":45,"tag":119,"props":935,"children":937},{"className":936},[],[938],{"type":51,"value":939},"tags",{"type":51,"value":941},". Including ",{"type":45,"tag":119,"props":943,"children":945},{"className":944},[],[946],{"type":51,"value":893},{"type":51,"value":925},{"type":45,"tag":119,"props":949,"children":951},{"className":950},[],[952],{"type":51,"value":901},{"type":51,"value":954},", or ",{"type":45,"tag":119,"props":956,"children":958},{"className":957},[],[959],{"type":51,"value":960},"type",{"type":51,"value":962},"\ncauses a 400 error.",{"type":45,"tag":304,"props":964,"children":966},{"id":965},"delete-an-agent",[967],{"type":51,"value":968},"Delete an Agent",{"type":45,"tag":318,"props":970,"children":972},{"className":320,"code":971,"language":322,"meta":323,"style":323},"node skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js delete-agent --id \"\u003Cagent_id>\"\n",[973],{"type":45,"tag":119,"props":974,"children":975},{"__ignoreMap":323},[976],{"type":45,"tag":329,"props":977,"children":978},{"class":331,"line":332},[979,983,987,992,996,1000,1004],{"type":45,"tag":329,"props":980,"children":981},{"style":336},[982],{"type":51,"value":339},{"type":45,"tag":329,"props":984,"children":985},{"style":342},[986],{"type":51,"value":345},{"type":45,"tag":329,"props":988,"children":989},{"style":342},[990],{"type":51,"value":991}," delete-agent",{"type":45,"tag":329,"props":993,"children":994},{"style":342},[995],{"type":51,"value":736},{"type":45,"tag":329,"props":997,"children":998},{"style":525},[999],{"type":51,"value":528},{"type":45,"tag":329,"props":1001,"children":1002},{"style":342},[1003],{"type":51,"value":745},{"type":45,"tag":329,"props":1005,"children":1006},{"style":525},[1007],{"type":51,"value":617},{"type":45,"tag":54,"props":1009,"children":1010},{},[1011],{"type":51,"value":1012},"Always confirm with the user before deleting. Deletion is permanent.",{"type":45,"tag":304,"props":1014,"children":1016},{"id":1015},"chat-with-an-agent",[1017],{"type":51,"value":1018},"Chat with an Agent",{"type":45,"tag":318,"props":1020,"children":1022},{"className":320,"code":1021,"language":322,"meta":323,"style":323},"node skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js chat \\\n  --id \"\u003Cagent_id>\" \\\n  --message \"\u003Cuser_message>\"\n",[1023],{"type":45,"tag":119,"props":1024,"children":1025},{"__ignoreMap":323},[1026,1046,1069],{"type":45,"tag":329,"props":1027,"children":1028},{"class":331,"line":332},[1029,1033,1037,1042],{"type":45,"tag":329,"props":1030,"children":1031},{"style":336},[1032],{"type":51,"value":339},{"type":45,"tag":329,"props":1034,"children":1035},{"style":342},[1036],{"type":51,"value":345},{"type":45,"tag":329,"props":1038,"children":1039},{"style":342},[1040],{"type":51,"value":1041}," chat",{"type":45,"tag":329,"props":1043,"children":1044},{"style":510},[1045],{"type":51,"value":513},{"type":45,"tag":329,"props":1047,"children":1048},{"class":331,"line":516},[1049,1053,1057,1061,1065],{"type":45,"tag":329,"props":1050,"children":1051},{"style":342},[1052],{"type":51,"value":790},{"type":45,"tag":329,"props":1054,"children":1055},{"style":525},[1056],{"type":51,"value":528},{"type":45,"tag":329,"props":1058,"children":1059},{"style":342},[1060],{"type":51,"value":745},{"type":45,"tag":329,"props":1062,"children":1063},{"style":525},[1064],{"type":51,"value":538},{"type":45,"tag":329,"props":1066,"children":1067},{"style":510},[1068],{"type":51,"value":513},{"type":45,"tag":329,"props":1070,"children":1071},{"class":331,"line":545},[1072,1077,1081,1086],{"type":45,"tag":329,"props":1073,"children":1074},{"style":342},[1075],{"type":51,"value":1076},"  --message",{"type":45,"tag":329,"props":1078,"children":1079},{"style":525},[1080],{"type":51,"value":528},{"type":45,"tag":329,"props":1082,"children":1083},{"style":342},[1084],{"type":51,"value":1085},"\u003Cuser_message>",{"type":45,"tag":329,"props":1087,"children":1088},{"style":525},[1089],{"type":51,"value":617},{"type":45,"tag":54,"props":1091,"children":1092},{},[1093,1095,1101,1103,1109,1110,1116,1118,1124,1125,1131,1132,1138,1139,1145,1147,1153],{"type":51,"value":1094},"Uses the streaming endpoint ",{"type":45,"tag":119,"props":1096,"children":1098},{"className":1097},[],[1099],{"type":51,"value":1100},"POST \u002Fapi\u002Fagent_builder\u002Fconverse\u002Fasync",{"type":51,"value":1102}," with ",{"type":45,"tag":119,"props":1104,"children":1106},{"className":1105},[],[1107],{"type":51,"value":1108},"agent_id",{"type":51,"value":895},{"type":45,"tag":119,"props":1111,"children":1113},{"className":1112},[],[1114],{"type":51,"value":1115},"input",{"type":51,"value":1117}," in the request body.\nOutput shows ",{"type":45,"tag":119,"props":1119,"children":1121},{"className":1120},[],[1122],{"type":51,"value":1123},"[Reasoning]",{"type":51,"value":925},{"type":45,"tag":119,"props":1126,"children":1128},{"className":1127},[],[1129],{"type":51,"value":1130},"[Tool Call]",{"type":51,"value":925},{"type":45,"tag":119,"props":1133,"children":1135},{"className":1134},[],[1136],{"type":51,"value":1137},"[Tool Result]",{"type":51,"value":933},{"type":45,"tag":119,"props":1140,"children":1142},{"className":1141},[],[1143],{"type":51,"value":1144},"[Response]",{"type":51,"value":1146}," as events arrive. Pass ",{"type":45,"tag":119,"props":1148,"children":1150},{"className":1149},[],[1151],{"type":51,"value":1152},"--conversation-id",{"type":51,"value":1154},"\nto continue an existing conversation.",{"type":45,"tag":54,"props":1156,"children":1157},{},[1158,1163],{"type":45,"tag":60,"props":1159,"children":1160},{},[1161],{"type":51,"value":1162},"Note:",{"type":51,"value":1164}," This command may take 30-60 seconds as the agent reasons and calls tools. Use a longer timeout (e.g., 120s or\n180s) when running via Bash.",{"type":45,"tag":68,"props":1166,"children":1168},{"id":1167},"tool-management",[1169],{"type":51,"value":1170},"Tool Management",{"type":45,"tag":54,"props":1172,"children":1173},{},[1174],{"type":51,"value":1175},"Custom tools extend what agents can do beyond the built-in platform tools.",{"type":45,"tag":304,"props":1177,"children":1179},{"id":1178},"tool-types",[1180],{"type":51,"value":1181},"Tool Types",{"type":45,"tag":311,"props":1183,"children":1185},{"id":1184},"esql-tools",[1186],{"type":51,"value":1187},"ES|QL Tools",{"type":45,"tag":54,"props":1189,"children":1190},{},[1191],{"type":51,"value":1192},"Pre-defined, parameterized ES|QL queries. Use when you need guaranteed query correctness, enforced business rules,\nanalytics aggregations, or fine-grained data access control.",{"type":45,"tag":54,"props":1194,"children":1195},{},[1196,1201,1203,1209,1211,1216,1217,1222,1224,1230,1231,1237,1238,1244,1245,1251,1252,1258,1259,1265],{"type":45,"tag":60,"props":1197,"children":1198},{},[1199],{"type":51,"value":1200},"Parameter syntax",{"type":51,"value":1202},": Use ",{"type":45,"tag":119,"props":1204,"children":1206},{"className":1205},[],[1207],{"type":51,"value":1208},"?param_name",{"type":51,"value":1210}," in the query. Define each parameter with ",{"type":45,"tag":119,"props":1212,"children":1214},{"className":1213},[],[1215],{"type":51,"value":960},{"type":51,"value":895},{"type":45,"tag":119,"props":1218,"children":1220},{"className":1219},[],[1221],{"type":51,"value":923},{"type":51,"value":1223}," only. Valid\ntypes: ",{"type":45,"tag":119,"props":1225,"children":1227},{"className":1226},[],[1228],{"type":51,"value":1229},"string",{"type":51,"value":925},{"type":45,"tag":119,"props":1232,"children":1234},{"className":1233},[],[1235],{"type":51,"value":1236},"integer",{"type":51,"value":925},{"type":45,"tag":119,"props":1239,"children":1241},{"className":1240},[],[1242],{"type":51,"value":1243},"float",{"type":51,"value":925},{"type":45,"tag":119,"props":1246,"children":1248},{"className":1247},[],[1249],{"type":51,"value":1250},"boolean",{"type":51,"value":925},{"type":45,"tag":119,"props":1253,"children":1255},{"className":1254},[],[1256],{"type":51,"value":1257},"date",{"type":51,"value":925},{"type":45,"tag":119,"props":1260,"children":1262},{"className":1261},[],[1263],{"type":51,"value":1264},"array",{"type":51,"value":296},{"type":45,"tag":318,"props":1267,"children":1271},{"className":1268,"code":1269,"language":1270,"meta":323,"style":323},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"id\": \"campaign_revenue_by_region\",\n  \"type\": \"esql\",\n  \"description\": \"Calculates confirmed revenue for a region by quarter.\",\n  \"configuration\": {\n    \"query\": \"FROM finance-orders-* | WHERE order_status == \\\"completed\\\" AND region == ?region | STATS total_revenue = SUM(amount) BY quarter | LIMIT 10\",\n    \"params\": {\n      \"region\": {\n        \"type\": \"string\",\n        \"description\": \"Region code, e.g. 'US', 'EU', 'APAC'\"\n      }\n    }\n  }\n}\n","json",[1272],{"type":45,"tag":119,"props":1273,"children":1274},{"__ignoreMap":323},[1275,1283,1323,1359,1395,1419,1477,1502,1529,1567,1600,1609,1618,1627],{"type":45,"tag":329,"props":1276,"children":1277},{"class":331,"line":332},[1278],{"type":45,"tag":329,"props":1279,"children":1280},{"style":525},[1281],{"type":51,"value":1282},"{\n",{"type":45,"tag":329,"props":1284,"children":1285},{"class":331,"line":516},[1286,1291,1296,1300,1305,1309,1314,1318],{"type":45,"tag":329,"props":1287,"children":1288},{"style":525},[1289],{"type":51,"value":1290},"  \"",{"type":45,"tag":329,"props":1292,"children":1294},{"style":1293},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[1295],{"type":51,"value":893},{"type":45,"tag":329,"props":1297,"children":1298},{"style":525},[1299],{"type":51,"value":538},{"type":45,"tag":329,"props":1301,"children":1302},{"style":525},[1303],{"type":51,"value":1304},":",{"type":45,"tag":329,"props":1306,"children":1307},{"style":525},[1308],{"type":51,"value":528},{"type":45,"tag":329,"props":1310,"children":1311},{"style":342},[1312],{"type":51,"value":1313},"campaign_revenue_by_region",{"type":45,"tag":329,"props":1315,"children":1316},{"style":525},[1317],{"type":51,"value":538},{"type":45,"tag":329,"props":1319,"children":1320},{"style":525},[1321],{"type":51,"value":1322},",\n",{"type":45,"tag":329,"props":1324,"children":1325},{"class":331,"line":545},[1326,1330,1334,1338,1342,1346,1351,1355],{"type":45,"tag":329,"props":1327,"children":1328},{"style":525},[1329],{"type":51,"value":1290},{"type":45,"tag":329,"props":1331,"children":1332},{"style":1293},[1333],{"type":51,"value":960},{"type":45,"tag":329,"props":1335,"children":1336},{"style":525},[1337],{"type":51,"value":538},{"type":45,"tag":329,"props":1339,"children":1340},{"style":525},[1341],{"type":51,"value":1304},{"type":45,"tag":329,"props":1343,"children":1344},{"style":525},[1345],{"type":51,"value":528},{"type":45,"tag":329,"props":1347,"children":1348},{"style":342},[1349],{"type":51,"value":1350},"esql",{"type":45,"tag":329,"props":1352,"children":1353},{"style":525},[1354],{"type":51,"value":538},{"type":45,"tag":329,"props":1356,"children":1357},{"style":525},[1358],{"type":51,"value":1322},{"type":45,"tag":329,"props":1360,"children":1361},{"class":331,"line":571},[1362,1366,1370,1374,1378,1382,1387,1391],{"type":45,"tag":329,"props":1363,"children":1364},{"style":525},[1365],{"type":51,"value":1290},{"type":45,"tag":329,"props":1367,"children":1368},{"style":1293},[1369],{"type":51,"value":923},{"type":45,"tag":329,"props":1371,"children":1372},{"style":525},[1373],{"type":51,"value":538},{"type":45,"tag":329,"props":1375,"children":1376},{"style":525},[1377],{"type":51,"value":1304},{"type":45,"tag":329,"props":1379,"children":1380},{"style":525},[1381],{"type":51,"value":528},{"type":45,"tag":329,"props":1383,"children":1384},{"style":342},[1385],{"type":51,"value":1386},"Calculates confirmed revenue for a region by quarter.",{"type":45,"tag":329,"props":1388,"children":1389},{"style":525},[1390],{"type":51,"value":538},{"type":45,"tag":329,"props":1392,"children":1393},{"style":525},[1394],{"type":51,"value":1322},{"type":45,"tag":329,"props":1396,"children":1397},{"class":331,"line":597},[1398,1402,1406,1410,1414],{"type":45,"tag":329,"props":1399,"children":1400},{"style":525},[1401],{"type":51,"value":1290},{"type":45,"tag":329,"props":1403,"children":1404},{"style":1293},[1405],{"type":51,"value":931},{"type":45,"tag":329,"props":1407,"children":1408},{"style":525},[1409],{"type":51,"value":538},{"type":45,"tag":329,"props":1411,"children":1412},{"style":525},[1413],{"type":51,"value":1304},{"type":45,"tag":329,"props":1415,"children":1416},{"style":525},[1417],{"type":51,"value":1418}," {\n",{"type":45,"tag":329,"props":1420,"children":1422},{"class":331,"line":1421},6,[1423,1428,1433,1437,1441,1445,1450,1455,1460,1464,1469,1473],{"type":45,"tag":329,"props":1424,"children":1425},{"style":525},[1426],{"type":51,"value":1427},"    \"",{"type":45,"tag":329,"props":1429,"children":1430},{"style":336},[1431],{"type":51,"value":1432},"query",{"type":45,"tag":329,"props":1434,"children":1435},{"style":525},[1436],{"type":51,"value":538},{"type":45,"tag":329,"props":1438,"children":1439},{"style":525},[1440],{"type":51,"value":1304},{"type":45,"tag":329,"props":1442,"children":1443},{"style":525},[1444],{"type":51,"value":528},{"type":45,"tag":329,"props":1446,"children":1447},{"style":342},[1448],{"type":51,"value":1449},"FROM finance-orders-* | WHERE order_status == ",{"type":45,"tag":329,"props":1451,"children":1452},{"style":510},[1453],{"type":51,"value":1454},"\\\"",{"type":45,"tag":329,"props":1456,"children":1457},{"style":342},[1458],{"type":51,"value":1459},"completed",{"type":45,"tag":329,"props":1461,"children":1462},{"style":510},[1463],{"type":51,"value":1454},{"type":45,"tag":329,"props":1465,"children":1466},{"style":342},[1467],{"type":51,"value":1468}," AND region == ?region | STATS total_revenue = SUM(amount) BY quarter | LIMIT 10",{"type":45,"tag":329,"props":1470,"children":1471},{"style":525},[1472],{"type":51,"value":538},{"type":45,"tag":329,"props":1474,"children":1475},{"style":525},[1476],{"type":51,"value":1322},{"type":45,"tag":329,"props":1478,"children":1480},{"class":331,"line":1479},7,[1481,1485,1490,1494,1498],{"type":45,"tag":329,"props":1482,"children":1483},{"style":525},[1484],{"type":51,"value":1427},{"type":45,"tag":329,"props":1486,"children":1487},{"style":336},[1488],{"type":51,"value":1489},"params",{"type":45,"tag":329,"props":1491,"children":1492},{"style":525},[1493],{"type":51,"value":538},{"type":45,"tag":329,"props":1495,"children":1496},{"style":525},[1497],{"type":51,"value":1304},{"type":45,"tag":329,"props":1499,"children":1500},{"style":525},[1501],{"type":51,"value":1418},{"type":45,"tag":329,"props":1503,"children":1505},{"class":331,"line":1504},8,[1506,1511,1517,1521,1525],{"type":45,"tag":329,"props":1507,"children":1508},{"style":525},[1509],{"type":51,"value":1510},"      \"",{"type":45,"tag":329,"props":1512,"children":1514},{"style":1513},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1515],{"type":51,"value":1516},"region",{"type":45,"tag":329,"props":1518,"children":1519},{"style":525},[1520],{"type":51,"value":538},{"type":45,"tag":329,"props":1522,"children":1523},{"style":525},[1524],{"type":51,"value":1304},{"type":45,"tag":329,"props":1526,"children":1527},{"style":525},[1528],{"type":51,"value":1418},{"type":45,"tag":329,"props":1530,"children":1532},{"class":331,"line":1531},9,[1533,1538,1543,1547,1551,1555,1559,1563],{"type":45,"tag":329,"props":1534,"children":1535},{"style":525},[1536],{"type":51,"value":1537},"        \"",{"type":45,"tag":329,"props":1539,"children":1541},{"style":1540},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[1542],{"type":51,"value":960},{"type":45,"tag":329,"props":1544,"children":1545},{"style":525},[1546],{"type":51,"value":538},{"type":45,"tag":329,"props":1548,"children":1549},{"style":525},[1550],{"type":51,"value":1304},{"type":45,"tag":329,"props":1552,"children":1553},{"style":525},[1554],{"type":51,"value":528},{"type":45,"tag":329,"props":1556,"children":1557},{"style":342},[1558],{"type":51,"value":1229},{"type":45,"tag":329,"props":1560,"children":1561},{"style":525},[1562],{"type":51,"value":538},{"type":45,"tag":329,"props":1564,"children":1565},{"style":525},[1566],{"type":51,"value":1322},{"type":45,"tag":329,"props":1568,"children":1570},{"class":331,"line":1569},10,[1571,1575,1579,1583,1587,1591,1596],{"type":45,"tag":329,"props":1572,"children":1573},{"style":525},[1574],{"type":51,"value":1537},{"type":45,"tag":329,"props":1576,"children":1577},{"style":1540},[1578],{"type":51,"value":923},{"type":45,"tag":329,"props":1580,"children":1581},{"style":525},[1582],{"type":51,"value":538},{"type":45,"tag":329,"props":1584,"children":1585},{"style":525},[1586],{"type":51,"value":1304},{"type":45,"tag":329,"props":1588,"children":1589},{"style":525},[1590],{"type":51,"value":528},{"type":45,"tag":329,"props":1592,"children":1593},{"style":342},[1594],{"type":51,"value":1595},"Region code, e.g. 'US', 'EU', 'APAC'",{"type":45,"tag":329,"props":1597,"children":1598},{"style":525},[1599],{"type":51,"value":617},{"type":45,"tag":329,"props":1601,"children":1603},{"class":331,"line":1602},11,[1604],{"type":45,"tag":329,"props":1605,"children":1606},{"style":525},[1607],{"type":51,"value":1608},"      }\n",{"type":45,"tag":329,"props":1610,"children":1612},{"class":331,"line":1611},12,[1613],{"type":45,"tag":329,"props":1614,"children":1615},{"style":525},[1616],{"type":51,"value":1617},"    }\n",{"type":45,"tag":329,"props":1619,"children":1621},{"class":331,"line":1620},13,[1622],{"type":45,"tag":329,"props":1623,"children":1624},{"style":525},[1625],{"type":51,"value":1626},"  }\n",{"type":45,"tag":329,"props":1628,"children":1630},{"class":331,"line":1629},14,[1631],{"type":45,"tag":329,"props":1632,"children":1633},{"style":525},[1634],{"type":51,"value":1635},"}\n",{"type":45,"tag":311,"props":1637,"children":1639},{"id":1638},"index-search-tools",[1640],{"type":51,"value":1641},"Index Search Tools",{"type":45,"tag":54,"props":1643,"children":1644},{},[1645],{"type":51,"value":1646},"Scope the built-in search capability to a specific index pattern. The LLM decides how to query; you control which\nindices are accessible.",{"type":45,"tag":318,"props":1648,"children":1650},{"className":1268,"code":1649,"language":1270,"meta":323,"style":323},"{\n  \"id\": \"customer_feedback_search\",\n  \"type\": \"index_search\",\n  \"description\": \"Searches customer feedback and support tickets.\",\n  \"configuration\": {\n    \"pattern\": \"customer-feedback-*\"\n  }\n}\n",[1651],{"type":45,"tag":119,"props":1652,"children":1653},{"__ignoreMap":323},[1654,1661,1697,1733,1769,1792,1825,1832],{"type":45,"tag":329,"props":1655,"children":1656},{"class":331,"line":332},[1657],{"type":45,"tag":329,"props":1658,"children":1659},{"style":525},[1660],{"type":51,"value":1282},{"type":45,"tag":329,"props":1662,"children":1663},{"class":331,"line":516},[1664,1668,1672,1676,1680,1684,1689,1693],{"type":45,"tag":329,"props":1665,"children":1666},{"style":525},[1667],{"type":51,"value":1290},{"type":45,"tag":329,"props":1669,"children":1670},{"style":1293},[1671],{"type":51,"value":893},{"type":45,"tag":329,"props":1673,"children":1674},{"style":525},[1675],{"type":51,"value":538},{"type":45,"tag":329,"props":1677,"children":1678},{"style":525},[1679],{"type":51,"value":1304},{"type":45,"tag":329,"props":1681,"children":1682},{"style":525},[1683],{"type":51,"value":528},{"type":45,"tag":329,"props":1685,"children":1686},{"style":342},[1687],{"type":51,"value":1688},"customer_feedback_search",{"type":45,"tag":329,"props":1690,"children":1691},{"style":525},[1692],{"type":51,"value":538},{"type":45,"tag":329,"props":1694,"children":1695},{"style":525},[1696],{"type":51,"value":1322},{"type":45,"tag":329,"props":1698,"children":1699},{"class":331,"line":545},[1700,1704,1708,1712,1716,1720,1725,1729],{"type":45,"tag":329,"props":1701,"children":1702},{"style":525},[1703],{"type":51,"value":1290},{"type":45,"tag":329,"props":1705,"children":1706},{"style":1293},[1707],{"type":51,"value":960},{"type":45,"tag":329,"props":1709,"children":1710},{"style":525},[1711],{"type":51,"value":538},{"type":45,"tag":329,"props":1713,"children":1714},{"style":525},[1715],{"type":51,"value":1304},{"type":45,"tag":329,"props":1717,"children":1718},{"style":525},[1719],{"type":51,"value":528},{"type":45,"tag":329,"props":1721,"children":1722},{"style":342},[1723],{"type":51,"value":1724},"index_search",{"type":45,"tag":329,"props":1726,"children":1727},{"style":525},[1728],{"type":51,"value":538},{"type":45,"tag":329,"props":1730,"children":1731},{"style":525},[1732],{"type":51,"value":1322},{"type":45,"tag":329,"props":1734,"children":1735},{"class":331,"line":571},[1736,1740,1744,1748,1752,1756,1761,1765],{"type":45,"tag":329,"props":1737,"children":1738},{"style":525},[1739],{"type":51,"value":1290},{"type":45,"tag":329,"props":1741,"children":1742},{"style":1293},[1743],{"type":51,"value":923},{"type":45,"tag":329,"props":1745,"children":1746},{"style":525},[1747],{"type":51,"value":538},{"type":45,"tag":329,"props":1749,"children":1750},{"style":525},[1751],{"type":51,"value":1304},{"type":45,"tag":329,"props":1753,"children":1754},{"style":525},[1755],{"type":51,"value":528},{"type":45,"tag":329,"props":1757,"children":1758},{"style":342},[1759],{"type":51,"value":1760},"Searches customer feedback and support tickets.",{"type":45,"tag":329,"props":1762,"children":1763},{"style":525},[1764],{"type":51,"value":538},{"type":45,"tag":329,"props":1766,"children":1767},{"style":525},[1768],{"type":51,"value":1322},{"type":45,"tag":329,"props":1770,"children":1771},{"class":331,"line":597},[1772,1776,1780,1784,1788],{"type":45,"tag":329,"props":1773,"children":1774},{"style":525},[1775],{"type":51,"value":1290},{"type":45,"tag":329,"props":1777,"children":1778},{"style":1293},[1779],{"type":51,"value":931},{"type":45,"tag":329,"props":1781,"children":1782},{"style":525},[1783],{"type":51,"value":538},{"type":45,"tag":329,"props":1785,"children":1786},{"style":525},[1787],{"type":51,"value":1304},{"type":45,"tag":329,"props":1789,"children":1790},{"style":525},[1791],{"type":51,"value":1418},{"type":45,"tag":329,"props":1793,"children":1794},{"class":331,"line":1421},[1795,1799,1804,1808,1812,1816,1821],{"type":45,"tag":329,"props":1796,"children":1797},{"style":525},[1798],{"type":51,"value":1427},{"type":45,"tag":329,"props":1800,"children":1801},{"style":336},[1802],{"type":51,"value":1803},"pattern",{"type":45,"tag":329,"props":1805,"children":1806},{"style":525},[1807],{"type":51,"value":538},{"type":45,"tag":329,"props":1809,"children":1810},{"style":525},[1811],{"type":51,"value":1304},{"type":45,"tag":329,"props":1813,"children":1814},{"style":525},[1815],{"type":51,"value":528},{"type":45,"tag":329,"props":1817,"children":1818},{"style":342},[1819],{"type":51,"value":1820},"customer-feedback-*",{"type":45,"tag":329,"props":1822,"children":1823},{"style":525},[1824],{"type":51,"value":617},{"type":45,"tag":329,"props":1826,"children":1827},{"class":331,"line":1479},[1828],{"type":45,"tag":329,"props":1829,"children":1830},{"style":525},[1831],{"type":51,"value":1626},{"type":45,"tag":329,"props":1833,"children":1834},{"class":331,"line":1504},[1835],{"type":45,"tag":329,"props":1836,"children":1837},{"style":525},[1838],{"type":51,"value":1635},{"type":45,"tag":311,"props":1840,"children":1842},{"id":1841},"workflow-tools",[1843],{"type":51,"value":1844},"Workflow Tools",{"type":45,"tag":54,"props":1846,"children":1847},{},[1848],{"type":51,"value":1849},"Connect an agent to an Elastic Workflow — a YAML-defined multi-step automation. Use when the agent needs to take action\nbeyond data retrieval (send notifications, create tickets, call external APIs).",{"type":45,"tag":318,"props":1851,"children":1853},{"className":1268,"code":1852,"language":1270,"meta":323,"style":323},"{\n  \"id\": \"investigate-alert-workflow\",\n  \"type\": \"workflow\",\n  \"description\": \"Triggers automated alert investigation.\",\n  \"configuration\": {\n    \"workflow_id\": \"security-alert-investigation\"\n  }\n}\n",[1854],{"type":45,"tag":119,"props":1855,"children":1856},{"__ignoreMap":323},[1857,1864,1900,1936,1972,1995,2028,2035],{"type":45,"tag":329,"props":1858,"children":1859},{"class":331,"line":332},[1860],{"type":45,"tag":329,"props":1861,"children":1862},{"style":525},[1863],{"type":51,"value":1282},{"type":45,"tag":329,"props":1865,"children":1866},{"class":331,"line":516},[1867,1871,1875,1879,1883,1887,1892,1896],{"type":45,"tag":329,"props":1868,"children":1869},{"style":525},[1870],{"type":51,"value":1290},{"type":45,"tag":329,"props":1872,"children":1873},{"style":1293},[1874],{"type":51,"value":893},{"type":45,"tag":329,"props":1876,"children":1877},{"style":525},[1878],{"type":51,"value":538},{"type":45,"tag":329,"props":1880,"children":1881},{"style":525},[1882],{"type":51,"value":1304},{"type":45,"tag":329,"props":1884,"children":1885},{"style":525},[1886],{"type":51,"value":528},{"type":45,"tag":329,"props":1888,"children":1889},{"style":342},[1890],{"type":51,"value":1891},"investigate-alert-workflow",{"type":45,"tag":329,"props":1893,"children":1894},{"style":525},[1895],{"type":51,"value":538},{"type":45,"tag":329,"props":1897,"children":1898},{"style":525},[1899],{"type":51,"value":1322},{"type":45,"tag":329,"props":1901,"children":1902},{"class":331,"line":545},[1903,1907,1911,1915,1919,1923,1928,1932],{"type":45,"tag":329,"props":1904,"children":1905},{"style":525},[1906],{"type":51,"value":1290},{"type":45,"tag":329,"props":1908,"children":1909},{"style":1293},[1910],{"type":51,"value":960},{"type":45,"tag":329,"props":1912,"children":1913},{"style":525},[1914],{"type":51,"value":538},{"type":45,"tag":329,"props":1916,"children":1917},{"style":525},[1918],{"type":51,"value":1304},{"type":45,"tag":329,"props":1920,"children":1921},{"style":525},[1922],{"type":51,"value":528},{"type":45,"tag":329,"props":1924,"children":1925},{"style":342},[1926],{"type":51,"value":1927},"workflow",{"type":45,"tag":329,"props":1929,"children":1930},{"style":525},[1931],{"type":51,"value":538},{"type":45,"tag":329,"props":1933,"children":1934},{"style":525},[1935],{"type":51,"value":1322},{"type":45,"tag":329,"props":1937,"children":1938},{"class":331,"line":571},[1939,1943,1947,1951,1955,1959,1964,1968],{"type":45,"tag":329,"props":1940,"children":1941},{"style":525},[1942],{"type":51,"value":1290},{"type":45,"tag":329,"props":1944,"children":1945},{"style":1293},[1946],{"type":51,"value":923},{"type":45,"tag":329,"props":1948,"children":1949},{"style":525},[1950],{"type":51,"value":538},{"type":45,"tag":329,"props":1952,"children":1953},{"style":525},[1954],{"type":51,"value":1304},{"type":45,"tag":329,"props":1956,"children":1957},{"style":525},[1958],{"type":51,"value":528},{"type":45,"tag":329,"props":1960,"children":1961},{"style":342},[1962],{"type":51,"value":1963},"Triggers automated alert investigation.",{"type":45,"tag":329,"props":1965,"children":1966},{"style":525},[1967],{"type":51,"value":538},{"type":45,"tag":329,"props":1969,"children":1970},{"style":525},[1971],{"type":51,"value":1322},{"type":45,"tag":329,"props":1973,"children":1974},{"class":331,"line":597},[1975,1979,1983,1987,1991],{"type":45,"tag":329,"props":1976,"children":1977},{"style":525},[1978],{"type":51,"value":1290},{"type":45,"tag":329,"props":1980,"children":1981},{"style":1293},[1982],{"type":51,"value":931},{"type":45,"tag":329,"props":1984,"children":1985},{"style":525},[1986],{"type":51,"value":538},{"type":45,"tag":329,"props":1988,"children":1989},{"style":525},[1990],{"type":51,"value":1304},{"type":45,"tag":329,"props":1992,"children":1993},{"style":525},[1994],{"type":51,"value":1418},{"type":45,"tag":329,"props":1996,"children":1997},{"class":331,"line":1421},[1998,2002,2007,2011,2015,2019,2024],{"type":45,"tag":329,"props":1999,"children":2000},{"style":525},[2001],{"type":51,"value":1427},{"type":45,"tag":329,"props":2003,"children":2004},{"style":336},[2005],{"type":51,"value":2006},"workflow_id",{"type":45,"tag":329,"props":2008,"children":2009},{"style":525},[2010],{"type":51,"value":538},{"type":45,"tag":329,"props":2012,"children":2013},{"style":525},[2014],{"type":51,"value":1304},{"type":45,"tag":329,"props":2016,"children":2017},{"style":525},[2018],{"type":51,"value":528},{"type":45,"tag":329,"props":2020,"children":2021},{"style":342},[2022],{"type":51,"value":2023},"security-alert-investigation",{"type":45,"tag":329,"props":2025,"children":2026},{"style":525},[2027],{"type":51,"value":617},{"type":45,"tag":329,"props":2029,"children":2030},{"class":331,"line":1479},[2031],{"type":45,"tag":329,"props":2032,"children":2033},{"style":525},[2034],{"type":51,"value":1626},{"type":45,"tag":329,"props":2036,"children":2037},{"class":331,"line":1504},[2038],{"type":45,"tag":329,"props":2039,"children":2040},{"style":525},[2041],{"type":51,"value":1635},{"type":45,"tag":54,"props":2043,"children":2044},{},[2045,2047,2053],{"type":51,"value":2046},"Parameters are auto-detected from the workflow's ",{"type":45,"tag":119,"props":2048,"children":2050},{"className":2049},[],[2051],{"type":51,"value":2052},"inputs",{"type":51,"value":2054}," section.",{"type":45,"tag":304,"props":2056,"children":2058},{"id":2057},"tool-api-constraints",[2059],{"type":51,"value":2060},"Tool API Constraints",{"type":45,"tag":905,"props":2062,"children":2063},{},[2064],{"type":45,"tag":54,"props":2065,"children":2066},{},[2067],{"type":51,"value":2068},"Read these before creating tools — violations cause 400 errors.",{"type":45,"tag":624,"props":2070,"children":2071},{},[2072,2127,2149,2193,2230],{"type":45,"tag":433,"props":2073,"children":2074},{},[2075,2080,2082,2087,2088,2093,2094,2099,2100,2105,2106,2111,2113,2118,2120,2125],{"type":45,"tag":60,"props":2076,"children":2077},{},[2078],{"type":51,"value":2079},"POST body fields",{"type":51,"value":2081},": Only ",{"type":45,"tag":119,"props":2083,"children":2085},{"className":2084},[],[2086],{"type":51,"value":893},{"type":51,"value":925},{"type":45,"tag":119,"props":2089,"children":2091},{"className":2090},[],[2092],{"type":51,"value":960},{"type":51,"value":925},{"type":45,"tag":119,"props":2095,"children":2097},{"className":2096},[],[2098],{"type":51,"value":923},{"type":51,"value":925},{"type":45,"tag":119,"props":2101,"children":2103},{"className":2102},[],[2104],{"type":51,"value":931},{"type":51,"value":933},{"type":45,"tag":119,"props":2107,"children":2109},{"className":2108},[],[2110],{"type":51,"value":939},{"type":51,"value":2112}," are accepted. ",{"type":45,"tag":119,"props":2114,"children":2116},{"className":2115},[],[2117],{"type":51,"value":901},{"type":51,"value":2119}," is ",{"type":45,"tag":60,"props":2121,"children":2122},{},[2123],{"type":51,"value":2124},"not",{"type":51,"value":2126}," a\nvalid field — omit it entirely.",{"type":45,"tag":433,"props":2128,"children":2129},{},[2130,2140,2142,2148],{"type":45,"tag":60,"props":2131,"children":2132},{},[2133,2138],{"type":45,"tag":119,"props":2134,"children":2136},{"className":2135},[],[2137],{"type":51,"value":1489},{"type":51,"value":2139}," is always required",{"type":51,"value":2141}," for ES|QL tools, even when empty — use ",{"type":45,"tag":119,"props":2143,"children":2145},{"className":2144},[],[2146],{"type":51,"value":2147},"\"params\": {}",{"type":51,"value":296},{"type":45,"tag":433,"props":2150,"children":2151},{},[2152,2157,2158,2163,2164,2169,2171,2177,2178,2184,2186,2191],{"type":45,"tag":60,"props":2153,"children":2154},{},[2155],{"type":51,"value":2156},"Param fields",{"type":51,"value":2081},{"type":45,"tag":119,"props":2159,"children":2161},{"className":2160},[],[2162],{"type":51,"value":960},{"type":51,"value":895},{"type":45,"tag":119,"props":2165,"children":2167},{"className":2166},[],[2168],{"type":51,"value":923},{"type":51,"value":2170}," are accepted per parameter. ",{"type":45,"tag":119,"props":2172,"children":2174},{"className":2173},[],[2175],{"type":51,"value":2176},"default",{"type":51,"value":895},{"type":45,"tag":119,"props":2179,"children":2181},{"className":2180},[],[2182],{"type":51,"value":2183},"optional",{"type":51,"value":2185}," are ",{"type":45,"tag":60,"props":2187,"children":2188},{},[2189],{"type":51,"value":2190},"not valid",{"type":51,"value":2192},"\nand cause 400 errors. Hard-code sensible defaults in the query instead.",{"type":45,"tag":433,"props":2194,"children":2195},{},[2196,2201,2202,2208,2209,2213,2215,2221,2223,2228],{"type":45,"tag":60,"props":2197,"children":2198},{},[2199],{"type":51,"value":2200},"Index search config",{"type":51,"value":1202},{"type":45,"tag":119,"props":2203,"children":2205},{"className":2204},[],[2206],{"type":51,"value":2207},"\"pattern\"",{"type":51,"value":925},{"type":45,"tag":60,"props":2210,"children":2211},{},[2212],{"type":51,"value":2124},{"type":51,"value":2214}," ",{"type":45,"tag":119,"props":2216,"children":2218},{"className":2217},[],[2219],{"type":51,"value":2220},"\"index\"",{"type":51,"value":2222},". Using ",{"type":45,"tag":119,"props":2224,"children":2226},{"className":2225},[],[2227],{"type":51,"value":2220},{"type":51,"value":2229}," causes a validation error.",{"type":45,"tag":433,"props":2231,"children":2232},{},[2233,2238,2239,2244,2245,2250,2251,2256,2258,2263,2264,2269],{"type":45,"tag":60,"props":2234,"children":2235},{},[2236],{"type":51,"value":2237},"PUT restrictions",{"type":51,"value":2081},{"type":45,"tag":119,"props":2240,"children":2242},{"className":2241},[],[2243],{"type":51,"value":923},{"type":51,"value":925},{"type":45,"tag":119,"props":2246,"children":2248},{"className":2247},[],[2249],{"type":51,"value":931},{"type":51,"value":933},{"type":45,"tag":119,"props":2252,"children":2254},{"className":2253},[],[2255],{"type":51,"value":939},{"type":51,"value":2257}," are accepted. Including ",{"type":45,"tag":119,"props":2259,"children":2261},{"className":2260},[],[2262],{"type":51,"value":893},{"type":51,"value":282},{"type":45,"tag":119,"props":2265,"children":2267},{"className":2266},[],[2268],{"type":51,"value":960},{"type":51,"value":2270}," causes a\n400 error — these fields are immutable after creation.",{"type":45,"tag":304,"props":2272,"children":2274},{"id":2273},"tool-script-commands",[2275],{"type":51,"value":2276},"Tool Script Commands",{"type":45,"tag":311,"props":2278,"children":2280},{"id":2279},"list-all-tools",[2281],{"type":51,"value":2282},"List all tools",{"type":45,"tag":318,"props":2284,"children":2286},{"className":320,"code":2285,"language":322,"meta":323,"style":323},"node skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js list-custom-tools\n",[2287],{"type":45,"tag":119,"props":2288,"children":2289},{"__ignoreMap":323},[2290],{"type":45,"tag":329,"props":2291,"children":2292},{"class":331,"line":332},[2293,2297,2301],{"type":45,"tag":329,"props":2294,"children":2295},{"style":336},[2296],{"type":51,"value":339},{"type":45,"tag":329,"props":2298,"children":2299},{"style":342},[2300],{"type":51,"value":345},{"type":45,"tag":329,"props":2302,"children":2303},{"style":342},[2304],{"type":51,"value":2305}," list-custom-tools\n",{"type":45,"tag":311,"props":2307,"children":2309},{"id":2308},"get-a-specific-tool",[2310],{"type":51,"value":2311},"Get a specific tool",{"type":45,"tag":318,"props":2313,"children":2315},{"className":320,"code":2314,"language":322,"meta":323,"style":323},"node skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js get-tool --id \"\u003Ctool_id>\"\n",[2316],{"type":45,"tag":119,"props":2317,"children":2318},{"__ignoreMap":323},[2319],{"type":45,"tag":329,"props":2320,"children":2321},{"class":331,"line":332},[2322,2326,2330,2335,2339,2343,2348],{"type":45,"tag":329,"props":2323,"children":2324},{"style":336},[2325],{"type":51,"value":339},{"type":45,"tag":329,"props":2327,"children":2328},{"style":342},[2329],{"type":51,"value":345},{"type":45,"tag":329,"props":2331,"children":2332},{"style":342},[2333],{"type":51,"value":2334}," get-tool",{"type":45,"tag":329,"props":2336,"children":2337},{"style":342},[2338],{"type":51,"value":736},{"type":45,"tag":329,"props":2340,"children":2341},{"style":525},[2342],{"type":51,"value":528},{"type":45,"tag":329,"props":2344,"children":2345},{"style":342},[2346],{"type":51,"value":2347},"\u003Ctool_id>",{"type":45,"tag":329,"props":2349,"children":2350},{"style":525},[2351],{"type":51,"value":617},{"type":45,"tag":311,"props":2353,"children":2355},{"id":2354},"create-a-tool",[2356],{"type":51,"value":2357},"Create a tool",{"type":45,"tag":318,"props":2359,"children":2361},{"className":320,"code":2360,"language":322,"meta":323,"style":323},"node skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js create-tool \\\n  --id \"\u003Ctool_id>\" \\\n  --type \"esql\" \\\n  --description \"\u003Cdescription>\" \\\n  --query \"\u003Cesql_query>\" \\\n  --params '{\"region\": {\"type\": \"string\", \"description\": \"Region code\"}}'\n",[2362],{"type":45,"tag":119,"props":2363,"children":2364},{"__ignoreMap":323},[2365,2385,2408,2432,2455,2480],{"type":45,"tag":329,"props":2366,"children":2367},{"class":331,"line":332},[2368,2372,2376,2381],{"type":45,"tag":329,"props":2369,"children":2370},{"style":336},[2371],{"type":51,"value":339},{"type":45,"tag":329,"props":2373,"children":2374},{"style":342},[2375],{"type":51,"value":345},{"type":45,"tag":329,"props":2377,"children":2378},{"style":342},[2379],{"type":51,"value":2380}," create-tool",{"type":45,"tag":329,"props":2382,"children":2383},{"style":510},[2384],{"type":51,"value":513},{"type":45,"tag":329,"props":2386,"children":2387},{"class":331,"line":516},[2388,2392,2396,2400,2404],{"type":45,"tag":329,"props":2389,"children":2390},{"style":342},[2391],{"type":51,"value":790},{"type":45,"tag":329,"props":2393,"children":2394},{"style":525},[2395],{"type":51,"value":528},{"type":45,"tag":329,"props":2397,"children":2398},{"style":342},[2399],{"type":51,"value":2347},{"type":45,"tag":329,"props":2401,"children":2402},{"style":525},[2403],{"type":51,"value":538},{"type":45,"tag":329,"props":2405,"children":2406},{"style":510},[2407],{"type":51,"value":513},{"type":45,"tag":329,"props":2409,"children":2410},{"class":331,"line":545},[2411,2416,2420,2424,2428],{"type":45,"tag":329,"props":2412,"children":2413},{"style":342},[2414],{"type":51,"value":2415},"  --type",{"type":45,"tag":329,"props":2417,"children":2418},{"style":525},[2419],{"type":51,"value":528},{"type":45,"tag":329,"props":2421,"children":2422},{"style":342},[2423],{"type":51,"value":1350},{"type":45,"tag":329,"props":2425,"children":2426},{"style":525},[2427],{"type":51,"value":538},{"type":45,"tag":329,"props":2429,"children":2430},{"style":510},[2431],{"type":51,"value":513},{"type":45,"tag":329,"props":2433,"children":2434},{"class":331,"line":571},[2435,2439,2443,2447,2451],{"type":45,"tag":329,"props":2436,"children":2437},{"style":342},[2438],{"type":51,"value":551},{"type":45,"tag":329,"props":2440,"children":2441},{"style":525},[2442],{"type":51,"value":528},{"type":45,"tag":329,"props":2444,"children":2445},{"style":342},[2446],{"type":51,"value":560},{"type":45,"tag":329,"props":2448,"children":2449},{"style":525},[2450],{"type":51,"value":538},{"type":45,"tag":329,"props":2452,"children":2453},{"style":510},[2454],{"type":51,"value":513},{"type":45,"tag":329,"props":2456,"children":2457},{"class":331,"line":597},[2458,2463,2467,2472,2476],{"type":45,"tag":329,"props":2459,"children":2460},{"style":342},[2461],{"type":51,"value":2462},"  --query",{"type":45,"tag":329,"props":2464,"children":2465},{"style":525},[2466],{"type":51,"value":528},{"type":45,"tag":329,"props":2468,"children":2469},{"style":342},[2470],{"type":51,"value":2471},"\u003Cesql_query>",{"type":45,"tag":329,"props":2473,"children":2474},{"style":525},[2475],{"type":51,"value":538},{"type":45,"tag":329,"props":2477,"children":2478},{"style":510},[2479],{"type":51,"value":513},{"type":45,"tag":329,"props":2481,"children":2482},{"class":331,"line":1421},[2483,2488,2493,2498],{"type":45,"tag":329,"props":2484,"children":2485},{"style":342},[2486],{"type":51,"value":2487},"  --params",{"type":45,"tag":329,"props":2489,"children":2490},{"style":525},[2491],{"type":51,"value":2492}," '",{"type":45,"tag":329,"props":2494,"children":2495},{"style":342},[2496],{"type":51,"value":2497},"{\"region\": {\"type\": \"string\", \"description\": \"Region code\"}}",{"type":45,"tag":329,"props":2499,"children":2500},{"style":525},[2501],{"type":51,"value":2502},"'\n",{"type":45,"tag":54,"props":2504,"children":2505},{},[2506],{"type":51,"value":2507},"For index search tools:",{"type":45,"tag":318,"props":2509,"children":2511},{"className":320,"code":2510,"language":322,"meta":323,"style":323},"node skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js create-tool \\\n  --id \"\u003Ctool_id>\" \\\n  --type \"index_search\" \\\n  --description \"\u003Cdescription>\" \\\n  --pattern \"my-index-*\"\n",[2512],{"type":45,"tag":119,"props":2513,"children":2514},{"__ignoreMap":323},[2515,2534,2557,2580,2603],{"type":45,"tag":329,"props":2516,"children":2517},{"class":331,"line":332},[2518,2522,2526,2530],{"type":45,"tag":329,"props":2519,"children":2520},{"style":336},[2521],{"type":51,"value":339},{"type":45,"tag":329,"props":2523,"children":2524},{"style":342},[2525],{"type":51,"value":345},{"type":45,"tag":329,"props":2527,"children":2528},{"style":342},[2529],{"type":51,"value":2380},{"type":45,"tag":329,"props":2531,"children":2532},{"style":510},[2533],{"type":51,"value":513},{"type":45,"tag":329,"props":2535,"children":2536},{"class":331,"line":516},[2537,2541,2545,2549,2553],{"type":45,"tag":329,"props":2538,"children":2539},{"style":342},[2540],{"type":51,"value":790},{"type":45,"tag":329,"props":2542,"children":2543},{"style":525},[2544],{"type":51,"value":528},{"type":45,"tag":329,"props":2546,"children":2547},{"style":342},[2548],{"type":51,"value":2347},{"type":45,"tag":329,"props":2550,"children":2551},{"style":525},[2552],{"type":51,"value":538},{"type":45,"tag":329,"props":2554,"children":2555},{"style":510},[2556],{"type":51,"value":513},{"type":45,"tag":329,"props":2558,"children":2559},{"class":331,"line":545},[2560,2564,2568,2572,2576],{"type":45,"tag":329,"props":2561,"children":2562},{"style":342},[2563],{"type":51,"value":2415},{"type":45,"tag":329,"props":2565,"children":2566},{"style":525},[2567],{"type":51,"value":528},{"type":45,"tag":329,"props":2569,"children":2570},{"style":342},[2571],{"type":51,"value":1724},{"type":45,"tag":329,"props":2573,"children":2574},{"style":525},[2575],{"type":51,"value":538},{"type":45,"tag":329,"props":2577,"children":2578},{"style":510},[2579],{"type":51,"value":513},{"type":45,"tag":329,"props":2581,"children":2582},{"class":331,"line":571},[2583,2587,2591,2595,2599],{"type":45,"tag":329,"props":2584,"children":2585},{"style":342},[2586],{"type":51,"value":551},{"type":45,"tag":329,"props":2588,"children":2589},{"style":525},[2590],{"type":51,"value":528},{"type":45,"tag":329,"props":2592,"children":2593},{"style":342},[2594],{"type":51,"value":560},{"type":45,"tag":329,"props":2596,"children":2597},{"style":525},[2598],{"type":51,"value":538},{"type":45,"tag":329,"props":2600,"children":2601},{"style":510},[2602],{"type":51,"value":513},{"type":45,"tag":329,"props":2604,"children":2605},{"class":331,"line":597},[2606,2611,2615,2620],{"type":45,"tag":329,"props":2607,"children":2608},{"style":342},[2609],{"type":51,"value":2610},"  --pattern",{"type":45,"tag":329,"props":2612,"children":2613},{"style":525},[2614],{"type":51,"value":528},{"type":45,"tag":329,"props":2616,"children":2617},{"style":342},[2618],{"type":51,"value":2619},"my-index-*",{"type":45,"tag":329,"props":2621,"children":2622},{"style":525},[2623],{"type":51,"value":617},{"type":45,"tag":54,"props":2625,"children":2626},{},[2627],{"type":51,"value":2628},"For workflow tools:",{"type":45,"tag":318,"props":2630,"children":2632},{"className":320,"code":2631,"language":322,"meta":323,"style":323},"node skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js create-tool \\\n  --id \"\u003Ctool_id>\" \\\n  --type \"workflow\" \\\n  --description \"\u003Cdescription>\" \\\n  --workflow-id \"my-workflow-name\"\n",[2633],{"type":45,"tag":119,"props":2634,"children":2635},{"__ignoreMap":323},[2636,2655,2678,2701,2724],{"type":45,"tag":329,"props":2637,"children":2638},{"class":331,"line":332},[2639,2643,2647,2651],{"type":45,"tag":329,"props":2640,"children":2641},{"style":336},[2642],{"type":51,"value":339},{"type":45,"tag":329,"props":2644,"children":2645},{"style":342},[2646],{"type":51,"value":345},{"type":45,"tag":329,"props":2648,"children":2649},{"style":342},[2650],{"type":51,"value":2380},{"type":45,"tag":329,"props":2652,"children":2653},{"style":510},[2654],{"type":51,"value":513},{"type":45,"tag":329,"props":2656,"children":2657},{"class":331,"line":516},[2658,2662,2666,2670,2674],{"type":45,"tag":329,"props":2659,"children":2660},{"style":342},[2661],{"type":51,"value":790},{"type":45,"tag":329,"props":2663,"children":2664},{"style":525},[2665],{"type":51,"value":528},{"type":45,"tag":329,"props":2667,"children":2668},{"style":342},[2669],{"type":51,"value":2347},{"type":45,"tag":329,"props":2671,"children":2672},{"style":525},[2673],{"type":51,"value":538},{"type":45,"tag":329,"props":2675,"children":2676},{"style":510},[2677],{"type":51,"value":513},{"type":45,"tag":329,"props":2679,"children":2680},{"class":331,"line":545},[2681,2685,2689,2693,2697],{"type":45,"tag":329,"props":2682,"children":2683},{"style":342},[2684],{"type":51,"value":2415},{"type":45,"tag":329,"props":2686,"children":2687},{"style":525},[2688],{"type":51,"value":528},{"type":45,"tag":329,"props":2690,"children":2691},{"style":342},[2692],{"type":51,"value":1927},{"type":45,"tag":329,"props":2694,"children":2695},{"style":525},[2696],{"type":51,"value":538},{"type":45,"tag":329,"props":2698,"children":2699},{"style":510},[2700],{"type":51,"value":513},{"type":45,"tag":329,"props":2702,"children":2703},{"class":331,"line":571},[2704,2708,2712,2716,2720],{"type":45,"tag":329,"props":2705,"children":2706},{"style":342},[2707],{"type":51,"value":551},{"type":45,"tag":329,"props":2709,"children":2710},{"style":525},[2711],{"type":51,"value":528},{"type":45,"tag":329,"props":2713,"children":2714},{"style":342},[2715],{"type":51,"value":560},{"type":45,"tag":329,"props":2717,"children":2718},{"style":525},[2719],{"type":51,"value":538},{"type":45,"tag":329,"props":2721,"children":2722},{"style":510},[2723],{"type":51,"value":513},{"type":45,"tag":329,"props":2725,"children":2726},{"class":331,"line":597},[2727,2732,2736,2741],{"type":45,"tag":329,"props":2728,"children":2729},{"style":342},[2730],{"type":51,"value":2731},"  --workflow-id",{"type":45,"tag":329,"props":2733,"children":2734},{"style":525},[2735],{"type":51,"value":528},{"type":45,"tag":329,"props":2737,"children":2738},{"style":342},[2739],{"type":51,"value":2740},"my-workflow-name",{"type":45,"tag":329,"props":2742,"children":2743},{"style":525},[2744],{"type":51,"value":617},{"type":45,"tag":311,"props":2746,"children":2748},{"id":2747},"update-a-tool",[2749],{"type":51,"value":2750},"Update a tool",{"type":45,"tag":318,"props":2752,"children":2754},{"className":320,"code":2753,"language":322,"meta":323,"style":323},"node skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js update-tool \\\n  --id \"\u003Ctool_id>\" \\\n  --description \"\u003Cnew_description>\" \\\n  --query \"\u003Cnew_query>\"\n",[2755],{"type":45,"tag":119,"props":2756,"children":2757},{"__ignoreMap":323},[2758,2778,2801,2824],{"type":45,"tag":329,"props":2759,"children":2760},{"class":331,"line":332},[2761,2765,2769,2774],{"type":45,"tag":329,"props":2762,"children":2763},{"style":336},[2764],{"type":51,"value":339},{"type":45,"tag":329,"props":2766,"children":2767},{"style":342},[2768],{"type":51,"value":345},{"type":45,"tag":329,"props":2770,"children":2771},{"style":342},[2772],{"type":51,"value":2773}," update-tool",{"type":45,"tag":329,"props":2775,"children":2776},{"style":510},[2777],{"type":51,"value":513},{"type":45,"tag":329,"props":2779,"children":2780},{"class":331,"line":516},[2781,2785,2789,2793,2797],{"type":45,"tag":329,"props":2782,"children":2783},{"style":342},[2784],{"type":51,"value":790},{"type":45,"tag":329,"props":2786,"children":2787},{"style":525},[2788],{"type":51,"value":528},{"type":45,"tag":329,"props":2790,"children":2791},{"style":342},[2792],{"type":51,"value":2347},{"type":45,"tag":329,"props":2794,"children":2795},{"style":525},[2796],{"type":51,"value":538},{"type":45,"tag":329,"props":2798,"children":2799},{"style":510},[2800],{"type":51,"value":513},{"type":45,"tag":329,"props":2802,"children":2803},{"class":331,"line":545},[2804,2808,2812,2816,2820],{"type":45,"tag":329,"props":2805,"children":2806},{"style":342},[2807],{"type":51,"value":551},{"type":45,"tag":329,"props":2809,"children":2810},{"style":525},[2811],{"type":51,"value":528},{"type":45,"tag":329,"props":2813,"children":2814},{"style":342},[2815],{"type":51,"value":822},{"type":45,"tag":329,"props":2817,"children":2818},{"style":525},[2819],{"type":51,"value":538},{"type":45,"tag":329,"props":2821,"children":2822},{"style":510},[2823],{"type":51,"value":513},{"type":45,"tag":329,"props":2825,"children":2826},{"class":331,"line":571},[2827,2831,2835,2840],{"type":45,"tag":329,"props":2828,"children":2829},{"style":342},[2830],{"type":51,"value":2462},{"type":45,"tag":329,"props":2832,"children":2833},{"style":525},[2834],{"type":51,"value":528},{"type":45,"tag":329,"props":2836,"children":2837},{"style":342},[2838],{"type":51,"value":2839},"\u003Cnew_query>",{"type":45,"tag":329,"props":2841,"children":2842},{"style":525},[2843],{"type":51,"value":617},{"type":45,"tag":54,"props":2845,"children":2846},{},[2847,2849,2854,2855,2860,2861,2866,2868,2873,2874,2879],{"type":51,"value":2848},"Only ",{"type":45,"tag":119,"props":2850,"children":2852},{"className":2851},[],[2853],{"type":51,"value":923},{"type":51,"value":925},{"type":45,"tag":119,"props":2856,"children":2858},{"className":2857},[],[2859],{"type":51,"value":931},{"type":51,"value":933},{"type":45,"tag":119,"props":2862,"children":2864},{"className":2863},[],[2865],{"type":51,"value":939},{"type":51,"value":2867}," can be updated. ",{"type":45,"tag":119,"props":2869,"children":2871},{"className":2870},[],[2872],{"type":51,"value":893},{"type":51,"value":895},{"type":45,"tag":119,"props":2875,"children":2877},{"className":2876},[],[2878],{"type":51,"value":960},{"type":51,"value":903},{"type":45,"tag":311,"props":2881,"children":2883},{"id":2882},"delete-a-tool",[2884],{"type":51,"value":2885},"Delete a tool",{"type":45,"tag":318,"props":2887,"children":2889},{"className":320,"code":2888,"language":322,"meta":323,"style":323},"node skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js delete-tool --id \"\u003Ctool_id>\"\n",[2890],{"type":45,"tag":119,"props":2891,"children":2892},{"__ignoreMap":323},[2893],{"type":45,"tag":329,"props":2894,"children":2895},{"class":331,"line":332},[2896,2900,2904,2909,2913,2917,2921],{"type":45,"tag":329,"props":2897,"children":2898},{"style":336},[2899],{"type":51,"value":339},{"type":45,"tag":329,"props":2901,"children":2902},{"style":342},[2903],{"type":51,"value":345},{"type":45,"tag":329,"props":2905,"children":2906},{"style":342},[2907],{"type":51,"value":2908}," delete-tool",{"type":45,"tag":329,"props":2910,"children":2911},{"style":342},[2912],{"type":51,"value":736},{"type":45,"tag":329,"props":2914,"children":2915},{"style":525},[2916],{"type":51,"value":528},{"type":45,"tag":329,"props":2918,"children":2919},{"style":342},[2920],{"type":51,"value":2347},{"type":45,"tag":329,"props":2922,"children":2923},{"style":525},[2924],{"type":51,"value":617},{"type":45,"tag":311,"props":2926,"children":2928},{"id":2927},"test-a-tool",[2929],{"type":51,"value":2930},"Test a tool",{"type":45,"tag":318,"props":2932,"children":2934},{"className":320,"code":2933,"language":322,"meta":323,"style":323},"node skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js test-tool \\\n  --id \"\u003Ctool_id>\" \\\n  --params '{\"region\": \"US\"}'\n",[2935],{"type":45,"tag":119,"props":2936,"children":2937},{"__ignoreMap":323},[2938,2958,2981],{"type":45,"tag":329,"props":2939,"children":2940},{"class":331,"line":332},[2941,2945,2949,2954],{"type":45,"tag":329,"props":2942,"children":2943},{"style":336},[2944],{"type":51,"value":339},{"type":45,"tag":329,"props":2946,"children":2947},{"style":342},[2948],{"type":51,"value":345},{"type":45,"tag":329,"props":2950,"children":2951},{"style":342},[2952],{"type":51,"value":2953}," test-tool",{"type":45,"tag":329,"props":2955,"children":2956},{"style":510},[2957],{"type":51,"value":513},{"type":45,"tag":329,"props":2959,"children":2960},{"class":331,"line":516},[2961,2965,2969,2973,2977],{"type":45,"tag":329,"props":2962,"children":2963},{"style":342},[2964],{"type":51,"value":790},{"type":45,"tag":329,"props":2966,"children":2967},{"style":525},[2968],{"type":51,"value":528},{"type":45,"tag":329,"props":2970,"children":2971},{"style":342},[2972],{"type":51,"value":2347},{"type":45,"tag":329,"props":2974,"children":2975},{"style":525},[2976],{"type":51,"value":538},{"type":45,"tag":329,"props":2978,"children":2979},{"style":510},[2980],{"type":51,"value":513},{"type":45,"tag":329,"props":2982,"children":2983},{"class":331,"line":545},[2984,2988,2992,2997],{"type":45,"tag":329,"props":2985,"children":2986},{"style":342},[2987],{"type":51,"value":2487},{"type":45,"tag":329,"props":2989,"children":2990},{"style":525},[2991],{"type":51,"value":2492},{"type":45,"tag":329,"props":2993,"children":2994},{"style":342},[2995],{"type":51,"value":2996},"{\"region\": \"US\"}",{"type":45,"tag":329,"props":2998,"children":2999},{"style":525},[3000],{"type":51,"value":2502},{"type":45,"tag":54,"props":3002,"children":3003},{},[3004,3006,3012],{"type":51,"value":3005},"Executes the tool via ",{"type":45,"tag":119,"props":3007,"children":3009},{"className":3008},[],[3010],{"type":51,"value":3011},"POST \u002Fapi\u002Fagent_builder\u002Ftools\u002F_execute",{"type":51,"value":3013}," and displays column names and row counts for ES|QL\nresults.",{"type":45,"tag":68,"props":3015,"children":3017},{"id":3016},"examples",[3018],{"type":51,"value":3019},"Examples",{"type":45,"tag":304,"props":3021,"children":3023},{"id":3022},"create-an-agent-1",[3024],{"type":51,"value":3025},"Create an agent",{"type":45,"tag":318,"props":3027,"children":3031},{"className":3028,"code":3030,"language":51,"meta":323},[3029],"language-text","User: \u002Fkibana-agent-builder sales-helper\n",[3032],{"type":45,"tag":119,"props":3033,"children":3034},{"__ignoreMap":323},[3035],{"type":51,"value":3030},{"type":45,"tag":429,"props":3037,"children":3038},{},[3039,3067,3072,3077,3099,3110],{"type":45,"tag":433,"props":3040,"children":3041},{},[3042,3044,3050,3051,3057,3059,3065],{"type":51,"value":3043},"List tools — finds ",{"type":45,"tag":119,"props":3045,"children":3047},{"className":3046},[],[3048],{"type":51,"value":3049},"platform.core.search",{"type":51,"value":925},{"type":45,"tag":119,"props":3052,"children":3054},{"className":3053},[],[3055],{"type":51,"value":3056},"platform.core.list_indices",{"type":51,"value":3058},", and a custom ",{"type":45,"tag":119,"props":3060,"children":3062},{"className":3061},[],[3063],{"type":51,"value":3064},"esql-sales-data",{"type":51,"value":3066}," tool",{"type":45,"tag":433,"props":3068,"children":3069},{},[3070],{"type":51,"value":3071},"List agents — no conflicts",{"type":45,"tag":433,"props":3073,"children":3074},{},[3075],{"type":51,"value":3076},"Name: \"sales-helper\", Description: \"Helps query sales data\"",{"type":45,"tag":433,"props":3078,"children":3079},{},[3080,3082,3087,3088,3093,3094],{"type":51,"value":3081},"Tools: ",{"type":45,"tag":119,"props":3083,"children":3085},{"className":3084},[],[3086],{"type":51,"value":3064},{"type":51,"value":925},{"type":45,"tag":119,"props":3089,"children":3091},{"className":3090},[],[3092],{"type":51,"value":3049},{"type":51,"value":925},{"type":45,"tag":119,"props":3095,"children":3097},{"className":3096},[],[3098],{"type":51,"value":3056},{"type":45,"tag":433,"props":3100,"children":3101},{},[3102,3104],{"type":51,"value":3103},"Create with ",{"type":45,"tag":119,"props":3105,"children":3107},{"className":3106},[],[3108],{"type":51,"value":3109},"--name \"sales-helper\" --tool-ids \"esql-sales-data,platform.core.search,platform.core.list_indices\"",{"type":45,"tag":433,"props":3111,"children":3112},{},[3113],{"type":51,"value":3114},"Verify — agent appears in list",{"type":45,"tag":304,"props":3116,"children":3118},{"id":3117},"update-an-agents-instructions",[3119],{"type":51,"value":3120},"Update an agent's instructions",{"type":45,"tag":318,"props":3122,"children":3125},{"className":3123,"code":3124,"language":51,"meta":323},[3029],"User: Update the sales-helper agent to focus on the APAC region\n",[3126],{"type":45,"tag":119,"props":3127,"children":3128},{"__ignoreMap":323},[3129],{"type":51,"value":3124},{"type":45,"tag":429,"props":3131,"children":3132},{},[3133,3146,3157],{"type":45,"tag":433,"props":3134,"children":3135},{},[3136,3138,3144],{"type":51,"value":3137},"Get agent — ",{"type":45,"tag":119,"props":3139,"children":3141},{"className":3140},[],[3142],{"type":51,"value":3143},"get-agent --id \"sales-helper\"",{"type":51,"value":3145}," to see current config",{"type":45,"tag":433,"props":3147,"children":3148},{},[3149,3151],{"type":51,"value":3150},"Update —\n",{"type":45,"tag":119,"props":3152,"children":3154},{"className":3153},[],[3155],{"type":51,"value":3156},"update-agent --id \"sales-helper\" --instructions \"Focus on APAC sales data. Use esql-sales-data for queries.\"",{"type":45,"tag":433,"props":3158,"children":3159},{},[3160,3162,3167],{"type":51,"value":3161},"Verify — ",{"type":45,"tag":119,"props":3163,"children":3165},{"className":3164},[],[3166],{"type":51,"value":3143},{"type":51,"value":3168}," to confirm new instructions",{"type":45,"tag":304,"props":3170,"children":3172},{"id":3171},"chat-with-an-agent-1",[3173],{"type":51,"value":3174},"Chat with an agent",{"type":45,"tag":318,"props":3176,"children":3179},{"className":3177,"code":3178,"language":51,"meta":323},[3029],"User: Ask sales-helper what the top revenue products are\n",[3180],{"type":45,"tag":119,"props":3181,"children":3182},{"__ignoreMap":323},[3183],{"type":51,"value":3178},{"type":45,"tag":429,"props":3185,"children":3186},{},[3187,3198],{"type":45,"tag":433,"props":3188,"children":3189},{},[3190,3192],{"type":51,"value":3191},"Chat — ",{"type":45,"tag":119,"props":3193,"children":3195},{"className":3194},[],[3196],{"type":51,"value":3197},"chat --id \"sales-helper\" --message \"What are the top revenue products?\"",{"type":45,"tag":433,"props":3199,"children":3200},{},[3201],{"type":51,"value":3202},"Display the agent's response",{"type":45,"tag":304,"props":3204,"children":3206},{"id":3205},"create-an-esql-tool-with-parameters",[3207],{"type":51,"value":3208},"Create an ES|QL tool with parameters",{"type":45,"tag":318,"props":3210,"children":3213},{"className":3211,"code":3212,"language":51,"meta":323},[3029],"User: Create a tool that shows billing complaints by category for the last N days\n",[3214],{"type":45,"tag":119,"props":3215,"children":3216},{"__ignoreMap":323},[3217],{"type":51,"value":3212},{"type":45,"tag":429,"props":3219,"children":3220},{},[3221,3234,3380],{"type":45,"tag":433,"props":3222,"children":3223},{},[3224,3226,3232],{"type":51,"value":3225},"Consult the ",{"type":45,"tag":119,"props":3227,"children":3229},{"className":3228},[],[3230],{"type":51,"value":3231},"elasticsearch-esql",{"type":51,"value":3233}," skill for ES|QL syntax",{"type":45,"tag":433,"props":3235,"children":3236},{},[3237,3239],{"type":51,"value":3238},"Create tool:",{"type":45,"tag":318,"props":3240,"children":3242},{"className":320,"code":3241,"language":322,"meta":323,"style":323},"node skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js create-tool \\\n  --id \"billing_complaint_summary\" \\\n  --type \"esql\" \\\n  --description \"Returns billing complaints grouped by sub-category for the last N days.\" \\\n  --query \"FROM customer-feedback-* | WHERE @timestamp >= NOW() - ?days::integer * 1d AND MATCH(feedback_text, 'billing') | STATS count = COUNT(*) BY sub_category | SORT count DESC | LIMIT 10\" \\\n  --params '{\"days\": {\"type\": \"integer\", \"description\": \"Number of days to look back\"}}'\n",[3243],{"type":45,"tag":119,"props":3244,"children":3245},{"__ignoreMap":323},[3246,3265,3289,3312,3336,3360],{"type":45,"tag":329,"props":3247,"children":3248},{"class":331,"line":332},[3249,3253,3257,3261],{"type":45,"tag":329,"props":3250,"children":3251},{"style":336},[3252],{"type":51,"value":339},{"type":45,"tag":329,"props":3254,"children":3255},{"style":342},[3256],{"type":51,"value":345},{"type":45,"tag":329,"props":3258,"children":3259},{"style":342},[3260],{"type":51,"value":2380},{"type":45,"tag":329,"props":3262,"children":3263},{"style":510},[3264],{"type":51,"value":513},{"type":45,"tag":329,"props":3266,"children":3267},{"class":331,"line":516},[3268,3272,3276,3281,3285],{"type":45,"tag":329,"props":3269,"children":3270},{"style":342},[3271],{"type":51,"value":790},{"type":45,"tag":329,"props":3273,"children":3274},{"style":525},[3275],{"type":51,"value":528},{"type":45,"tag":329,"props":3277,"children":3278},{"style":342},[3279],{"type":51,"value":3280},"billing_complaint_summary",{"type":45,"tag":329,"props":3282,"children":3283},{"style":525},[3284],{"type":51,"value":538},{"type":45,"tag":329,"props":3286,"children":3287},{"style":510},[3288],{"type":51,"value":513},{"type":45,"tag":329,"props":3290,"children":3291},{"class":331,"line":545},[3292,3296,3300,3304,3308],{"type":45,"tag":329,"props":3293,"children":3294},{"style":342},[3295],{"type":51,"value":2415},{"type":45,"tag":329,"props":3297,"children":3298},{"style":525},[3299],{"type":51,"value":528},{"type":45,"tag":329,"props":3301,"children":3302},{"style":342},[3303],{"type":51,"value":1350},{"type":45,"tag":329,"props":3305,"children":3306},{"style":525},[3307],{"type":51,"value":538},{"type":45,"tag":329,"props":3309,"children":3310},{"style":510},[3311],{"type":51,"value":513},{"type":45,"tag":329,"props":3313,"children":3314},{"class":331,"line":571},[3315,3319,3323,3328,3332],{"type":45,"tag":329,"props":3316,"children":3317},{"style":342},[3318],{"type":51,"value":551},{"type":45,"tag":329,"props":3320,"children":3321},{"style":525},[3322],{"type":51,"value":528},{"type":45,"tag":329,"props":3324,"children":3325},{"style":342},[3326],{"type":51,"value":3327},"Returns billing complaints grouped by sub-category for the last N days.",{"type":45,"tag":329,"props":3329,"children":3330},{"style":525},[3331],{"type":51,"value":538},{"type":45,"tag":329,"props":3333,"children":3334},{"style":510},[3335],{"type":51,"value":513},{"type":45,"tag":329,"props":3337,"children":3338},{"class":331,"line":597},[3339,3343,3347,3352,3356],{"type":45,"tag":329,"props":3340,"children":3341},{"style":342},[3342],{"type":51,"value":2462},{"type":45,"tag":329,"props":3344,"children":3345},{"style":525},[3346],{"type":51,"value":528},{"type":45,"tag":329,"props":3348,"children":3349},{"style":342},[3350],{"type":51,"value":3351},"FROM customer-feedback-* | WHERE @timestamp >= NOW() - ?days::integer * 1d AND MATCH(feedback_text, 'billing') | STATS count = COUNT(*) BY sub_category | SORT count DESC | LIMIT 10",{"type":45,"tag":329,"props":3353,"children":3354},{"style":525},[3355],{"type":51,"value":538},{"type":45,"tag":329,"props":3357,"children":3358},{"style":510},[3359],{"type":51,"value":513},{"type":45,"tag":329,"props":3361,"children":3362},{"class":331,"line":1421},[3363,3367,3371,3376],{"type":45,"tag":329,"props":3364,"children":3365},{"style":342},[3366],{"type":51,"value":2487},{"type":45,"tag":329,"props":3368,"children":3369},{"style":525},[3370],{"type":51,"value":2492},{"type":45,"tag":329,"props":3372,"children":3373},{"style":342},[3374],{"type":51,"value":3375},"{\"days\": {\"type\": \"integer\", \"description\": \"Number of days to look back\"}}",{"type":45,"tag":329,"props":3377,"children":3378},{"style":525},[3379],{"type":51,"value":2502},{"type":45,"tag":433,"props":3381,"children":3382},{},[3383,3385],{"type":51,"value":3384},"Test: ",{"type":45,"tag":119,"props":3386,"children":3388},{"className":3387},[],[3389],{"type":51,"value":3390},"test-tool --id \"billing_complaint_summary\" --params '{\"days\": 30}'",{"type":45,"tag":304,"props":3392,"children":3394},{"id":3393},"create-an-index-search-tool",[3395],{"type":51,"value":3396},"Create an index search tool",{"type":45,"tag":318,"props":3398,"children":3401},{"className":3399,"code":3400,"language":51,"meta":323},[3029],"User: Create a tool to search support transcripts\n",[3402],{"type":45,"tag":119,"props":3403,"children":3404},{"__ignoreMap":323},[3405],{"type":51,"value":3400},{"type":45,"tag":318,"props":3407,"children":3409},{"className":320,"code":3408,"language":322,"meta":323,"style":323},"node skills\u002Fkibana\u002Fagent-builder\u002Fscripts\u002Fagent-builder.js create-tool \\\n  --id \"transcript_search\" \\\n  --type \"index_search\" \\\n  --description \"Searches support call transcripts by topic, agent, or customer issue.\" \\\n  --pattern \"support-transcripts\"\n",[3410],{"type":45,"tag":119,"props":3411,"children":3412},{"__ignoreMap":323},[3413,3432,3456,3479,3503],{"type":45,"tag":329,"props":3414,"children":3415},{"class":331,"line":332},[3416,3420,3424,3428],{"type":45,"tag":329,"props":3417,"children":3418},{"style":336},[3419],{"type":51,"value":339},{"type":45,"tag":329,"props":3421,"children":3422},{"style":342},[3423],{"type":51,"value":345},{"type":45,"tag":329,"props":3425,"children":3426},{"style":342},[3427],{"type":51,"value":2380},{"type":45,"tag":329,"props":3429,"children":3430},{"style":510},[3431],{"type":51,"value":513},{"type":45,"tag":329,"props":3433,"children":3434},{"class":331,"line":516},[3435,3439,3443,3448,3452],{"type":45,"tag":329,"props":3436,"children":3437},{"style":342},[3438],{"type":51,"value":790},{"type":45,"tag":329,"props":3440,"children":3441},{"style":525},[3442],{"type":51,"value":528},{"type":45,"tag":329,"props":3444,"children":3445},{"style":342},[3446],{"type":51,"value":3447},"transcript_search",{"type":45,"tag":329,"props":3449,"children":3450},{"style":525},[3451],{"type":51,"value":538},{"type":45,"tag":329,"props":3453,"children":3454},{"style":510},[3455],{"type":51,"value":513},{"type":45,"tag":329,"props":3457,"children":3458},{"class":331,"line":545},[3459,3463,3467,3471,3475],{"type":45,"tag":329,"props":3460,"children":3461},{"style":342},[3462],{"type":51,"value":2415},{"type":45,"tag":329,"props":3464,"children":3465},{"style":525},[3466],{"type":51,"value":528},{"type":45,"tag":329,"props":3468,"children":3469},{"style":342},[3470],{"type":51,"value":1724},{"type":45,"tag":329,"props":3472,"children":3473},{"style":525},[3474],{"type":51,"value":538},{"type":45,"tag":329,"props":3476,"children":3477},{"style":510},[3478],{"type":51,"value":513},{"type":45,"tag":329,"props":3480,"children":3481},{"class":331,"line":571},[3482,3486,3490,3495,3499],{"type":45,"tag":329,"props":3483,"children":3484},{"style":342},[3485],{"type":51,"value":551},{"type":45,"tag":329,"props":3487,"children":3488},{"style":525},[3489],{"type":51,"value":528},{"type":45,"tag":329,"props":3491,"children":3492},{"style":342},[3493],{"type":51,"value":3494},"Searches support call transcripts by topic, agent, or customer issue.",{"type":45,"tag":329,"props":3496,"children":3497},{"style":525},[3498],{"type":51,"value":538},{"type":45,"tag":329,"props":3500,"children":3501},{"style":510},[3502],{"type":51,"value":513},{"type":45,"tag":329,"props":3504,"children":3505},{"class":331,"line":597},[3506,3510,3514,3519],{"type":45,"tag":329,"props":3507,"children":3508},{"style":342},[3509],{"type":51,"value":2610},{"type":45,"tag":329,"props":3511,"children":3512},{"style":525},[3513],{"type":51,"value":528},{"type":45,"tag":329,"props":3515,"children":3516},{"style":342},[3517],{"type":51,"value":3518},"support-transcripts",{"type":45,"tag":329,"props":3520,"children":3521},{"style":525},[3522],{"type":51,"value":617},{"type":45,"tag":68,"props":3524,"children":3526},{"id":3525},"references",[3527],{"type":51,"value":3528},"References",{"type":45,"tag":54,"props":3530,"children":3531},{},[3532],{"type":51,"value":3533},"Read these for detailed guidance:",{"type":45,"tag":624,"props":3535,"children":3536},{},[3537,3548],{"type":45,"tag":433,"props":3538,"children":3539},{},[3540,3546],{"type":45,"tag":119,"props":3541,"children":3543},{"className":3542},[],[3544],{"type":51,"value":3545},"references\u002Farchitecture-guide.md",{"type":51,"value":3547}," — Core concepts, built-in tools, context engineering, best practices, token\noptimization, REST API endpoints, MCP\u002FA2A integration, permissions",{"type":45,"tag":433,"props":3549,"children":3550},{},[3551,3557],{"type":45,"tag":119,"props":3552,"children":3554},{"className":3553},[],[3555],{"type":51,"value":3556},"references\u002Fuse-cases.md",{"type":51,"value":3558}," — Full playbooks for Customer Feedback Analysis, Marketing Campaign Analysis, and Contract\nAnalysis agents",{"type":45,"tag":54,"props":3560,"children":3561},{},[3562,3564,3569,3571,3577],{"type":51,"value":3563},"For ES|QL syntax, functions, operators, and parameter rules, use the ",{"type":45,"tag":119,"props":3565,"children":3567},{"className":3566},[],[3568],{"type":51,"value":3231},{"type":51,"value":3570}," skill. For workflow YAML\nstructure, trigger types, step types, and agent-workflow patterns, use the ",{"type":45,"tag":119,"props":3572,"children":3574},{"className":3573},[],[3575],{"type":51,"value":3576},"security-workflows",{"type":51,"value":3578}," skill.",{"type":45,"tag":68,"props":3580,"children":3582},{"id":3581},"guidelines",[3583],{"type":51,"value":3584},"Guidelines",{"type":45,"tag":624,"props":3586,"children":3587},{},[3588,3601,3613,3624,3629,3634,3646,3666,3679,3684,3704,3717,3730],{"type":45,"tag":433,"props":3589,"children":3590},{},[3591,3593,3599],{"type":51,"value":3592},"Always run ",{"type":45,"tag":119,"props":3594,"children":3596},{"className":3595},[],[3597],{"type":51,"value":3598},"list-tools",{"type":51,"value":3600}," before creating an agent so the user can choose from real, available tools.",{"type":45,"tag":433,"props":3602,"children":3603},{},[3604,3605,3611],{"type":51,"value":3592},{"type":45,"tag":119,"props":3606,"children":3608},{"className":3607},[],[3609],{"type":51,"value":3610},"list-agents",{"type":51,"value":3612}," before and after creation to detect conflicts and verify success.",{"type":45,"tag":433,"props":3614,"children":3615},{},[3616,3618,3623],{"type":51,"value":3617},"Do not invent tool IDs — only use IDs returned by ",{"type":45,"tag":119,"props":3619,"children":3621},{"className":3620},[],[3622],{"type":51,"value":3598},{"type":51,"value":296},{"type":45,"tag":433,"props":3625,"children":3626},{},[3627],{"type":51,"value":3628},"If no custom tools exist yet, suggest creating one or using the built-in platform tools.",{"type":45,"tag":433,"props":3630,"children":3631},{},[3632],{"type":51,"value":3633},"The agent ID is auto-generated from the name (lowercased, hyphens, alphanumeric only).",{"type":45,"tag":433,"props":3635,"children":3636},{},[3637,3639,3644],{"type":51,"value":3638},"For non-default Kibana spaces, set ",{"type":45,"tag":119,"props":3640,"children":3642},{"className":3641},[],[3643],{"type":51,"value":232},{"type":51,"value":3645}," before running the script.",{"type":45,"tag":433,"props":3647,"children":3648},{},[3649,3651,3657,3658,3664],{"type":51,"value":3650},"Confirm with the user before running ",{"type":45,"tag":119,"props":3652,"children":3654},{"className":3653},[],[3655],{"type":51,"value":3656},"delete-agent",{"type":51,"value":282},{"type":45,"tag":119,"props":3659,"children":3661},{"className":3660},[],[3662],{"type":51,"value":3663},"delete-tool",{"type":51,"value":3665}," — deletion is permanent.",{"type":45,"tag":433,"props":3667,"children":3668},{},[3669,3671,3677],{"type":51,"value":3670},"Always include ",{"type":45,"tag":119,"props":3672,"children":3674},{"className":3673},[],[3675],{"type":51,"value":3676},"| LIMIT N",{"type":51,"value":3678}," in ES|QL queries to prevent context window overflow.",{"type":45,"tag":433,"props":3680,"children":3681},{},[3682],{"type":51,"value":3683},"Write descriptive tool descriptions — the agent decides which tool to call based solely on the description.",{"type":45,"tag":433,"props":3685,"children":3686},{},[3687,3689,3694,3696,3702],{"type":51,"value":3688},"Scope index search tools narrowly (e.g., ",{"type":45,"tag":119,"props":3690,"children":3692},{"className":3691},[],[3693],{"type":51,"value":1820},{"type":51,"value":3695}," not ",{"type":45,"tag":119,"props":3697,"children":3699},{"className":3698},[],[3700],{"type":51,"value":3701},"*",{"type":51,"value":3703},").",{"type":45,"tag":433,"props":3705,"children":3706},{},[3707,3709,3715],{"type":51,"value":3708},"Use ",{"type":45,"tag":119,"props":3710,"children":3712},{"className":3711},[],[3713],{"type":51,"value":3714},"KEEP",{"type":51,"value":3716}," to return only needed columns and reduce token consumption.",{"type":45,"tag":433,"props":3718,"children":3719},{},[3720,3722,3728],{"type":51,"value":3721},"Validate ES|QL queries with ",{"type":45,"tag":119,"props":3723,"children":3725},{"className":3724},[],[3726],{"type":51,"value":3727},"test-tool",{"type":51,"value":3729}," before assigning to an agent.",{"type":45,"tag":433,"props":3731,"children":3732},{},[3733,3735,3740],{"type":51,"value":3734},"For ES|QL tools with no parameters, still include ",{"type":45,"tag":119,"props":3736,"children":3738},{"className":3737},[],[3739],{"type":51,"value":2147},{"type":51,"value":296},{"type":45,"tag":3742,"props":3743,"children":3744},"style",{},[3745],{"type":51,"value":3746},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":3748,"total":3843},[3749,3766,3780,3790,3805,3817,3832],{"slug":3750,"name":3750,"fn":3751,"description":3752,"org":3753,"tags":3754,"stars":23,"repoUrl":24,"updatedAt":3765},"cloud-access-management","manage Elastic Cloud organization access","Manage Elastic Cloud organization access: invite users, assign roles to Serverless projects, and create or revoke Cloud API keys. Use when granting, modifying, or auditing user access.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3755,3758,3759,3762],{"name":3756,"slug":3757,"type":15},"Cloud","cloud",{"name":9,"slug":8,"type":15},{"name":3760,"slug":3761,"type":15},"Operations","operations",{"name":3763,"slug":3764,"type":15},"Permissions","permissions","2026-07-12T07:46:44.946285",{"slug":3767,"name":3767,"fn":3768,"description":3769,"org":3770,"tags":3771,"stars":23,"repoUrl":24,"updatedAt":3779},"cloud-create-project","create Elastic Cloud Serverless projects","Creates Elastic Cloud Serverless projects (Elasticsearch, Observability, or Security) via the REST API, saves credentials to file, and bootstraps a scoped Elasticsearch API key. Use when creating a new serverless project, provisioning a search or observability environment, or spinning up a new Elastic Cloud project.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3772,3773,3776],{"name":3756,"slug":3757,"type":15},{"name":3774,"slug":3775,"type":15},"Deployment","deployment",{"name":3777,"slug":3778,"type":15},"Elasticsearch","elasticsearch","2026-07-12T07:46:42.353362",{"slug":3781,"name":3781,"fn":3782,"description":3783,"org":3784,"tags":3785,"stars":23,"repoUrl":24,"updatedAt":3789},"cloud-manage-project","manage Elastic Cloud Serverless projects","Manages existing Elastic Cloud Serverless projects: list, get, update, delete, reset credentials, resume, and load saved credentials. Connects to existing projects by resolving endpoints and acquiring scoped Elasticsearch API keys. Use when performing day-2 operations on serverless projects, connecting to an existing project, loading or resetting project credentials, or looking up project details.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3786,3787,3788],{"name":3756,"slug":3757,"type":15},{"name":3777,"slug":3778,"type":15},{"name":3760,"slug":3761,"type":15},"2026-07-12T07:46:41.097412",{"slug":3791,"name":3791,"fn":3792,"description":3793,"org":3794,"tags":3795,"stars":23,"repoUrl":24,"updatedAt":3804},"cloud-network-security","manage Elastic Cloud network security","Manage Serverless network security (traffic filters): create, update, and delete IP filters and AWS PrivateLink VPC filters. Use when restricting network access or configuring private connectivity.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3796,3797,3798,3801],{"name":3756,"slug":3757,"type":15},{"name":3777,"slug":3778,"type":15},{"name":3799,"slug":3800,"type":15},"Networking","networking",{"name":3802,"slug":3803,"type":15},"Security","security","2026-07-12T07:46:43.675992",{"slug":3806,"name":3806,"fn":3807,"description":3808,"org":3809,"tags":3810,"stars":23,"repoUrl":24,"updatedAt":3816},"cloud-setup","configure Elastic Cloud authentication","Configures Elastic Cloud authentication and environment defaults. Use when setting up EC_API_KEY, configuring Cloud API access, or when another cloud skill requires credentials.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3811,3814,3815],{"name":3812,"slug":3813,"type":15},"Authentication","authentication",{"name":3756,"slug":3757,"type":15},{"name":3777,"slug":3778,"type":15},"2026-07-12T07:46:39.783105",{"slug":3818,"name":3818,"fn":3819,"description":3820,"org":3821,"tags":3822,"stars":23,"repoUrl":24,"updatedAt":3831},"elasticsearch-audit","configure Elasticsearch security audit logs","Enable, configure, and query Elasticsearch security audit logs. Use when the task involves audit logging setup, event filtering, or investigating security incidents like failed logins.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3823,3826,3827,3830],{"name":3824,"slug":3825,"type":15},"Audit","audit",{"name":3777,"slug":3778,"type":15},{"name":3828,"slug":3829,"type":15},"Logs","logs",{"name":3802,"slug":3803,"type":15},"2026-07-12T07:47:35.092599",{"slug":3833,"name":3833,"fn":3834,"description":3835,"org":3836,"tags":3837,"stars":23,"repoUrl":24,"updatedAt":3842},"elasticsearch-authn","configure Elasticsearch authentication realms","Authenticate to Elasticsearch using native, file-based, LDAP\u002FAD, SAML, OIDC, Kerberos, JWT, or certificate realms. Use when connecting with credentials, choosing a realm, or managing API keys. Assumes the target realms are already configured.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3838,3839,3840,3841],{"name":3812,"slug":3813,"type":15},{"name":9,"slug":8,"type":15},{"name":3777,"slug":3778,"type":15},{"name":3802,"slug":3803,"type":15},"2026-07-12T07:47:41.474547",35,{"items":3845,"total":3966},[3846,3865,3882,3895,3902,3908,3914,3921,3927,3934,3941,3954],{"slug":3847,"name":3847,"fn":3848,"description":3849,"org":3850,"tags":3851,"stars":3862,"repoUrl":3863,"updatedAt":3864},"accessing-benchmark-results","retrieve and analyze Rally benchmark results","Retrieve Rally benchmark results from an external Elasticsearch metrics store. Use to list past races, get a single race's overall (per-task) results, chart a metric's trend across multiple runs, compare two races, or check whether a run converged — e.g. \"show me recent geonames races\", \"what's the service_time trend for nyc_taxis over the last 30 days?\", \"compare these two race-ids\". Applies when datastore.type = elasticsearch is set in ~\u002F.rally\u002Frally.ini.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3852,3855,3858,3859],{"name":3853,"slug":3854,"type":15},"Analytics","analytics",{"name":3856,"slug":3857,"type":15},"Data Analysis","data-analysis",{"name":9,"slug":8,"type":15},{"name":3860,"slug":3861,"type":15},"Performance","performance",2027,"https:\u002F\u002Fgithub.com\u002Felastic\u002Frally","2026-07-12T07:46:38.54144",{"slug":3866,"name":3866,"fn":3867,"description":3868,"org":3869,"tags":3870,"stars":3862,"repoUrl":3863,"updatedAt":3881},"developing-rally","develop and debug Rally source code","Work on Rally's own codebase, not running benchmarks with it. Use when setting up the dev environment, running Rally's tests or linters, navigating its source, debugging Rally's own code, or making changes to Rally itself.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3871,3874,3875,3878],{"name":3872,"slug":3873,"type":15},"Debugging","debugging",{"name":9,"slug":8,"type":15},{"name":3876,"slug":3877,"type":15},"Engineering","engineering",{"name":3879,"slug":3880,"type":15},"Local Development","local-development","2026-07-12T07:46:35.976807",{"slug":3883,"name":3883,"fn":3884,"description":3885,"org":3886,"tags":3887,"stars":3862,"repoUrl":3863,"updatedAt":3894},"running-benchmarks","run Rally benchmarks against Elasticsearch","Run Rally benchmarks (races) against Elasticsearch — an existing\u002Fexternal cluster or a Rally-provisioned distribution — and read the summary report. Use when running a race (any pipeline, track, challenge, target-hosts, or auth) or when interpreting throughput, latency, and service_time results.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3888,3889,3890,3891],{"name":9,"slug":8,"type":15},{"name":3777,"slug":3778,"type":15},{"name":3860,"slug":3861,"type":15},{"name":3892,"slug":3893,"type":15},"Testing","testing","2026-07-12T07:46:37.277964",{"slug":3750,"name":3750,"fn":3751,"description":3752,"org":3896,"tags":3897,"stars":23,"repoUrl":24,"updatedAt":3765},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3898,3899,3900,3901],{"name":3756,"slug":3757,"type":15},{"name":9,"slug":8,"type":15},{"name":3760,"slug":3761,"type":15},{"name":3763,"slug":3764,"type":15},{"slug":3767,"name":3767,"fn":3768,"description":3769,"org":3903,"tags":3904,"stars":23,"repoUrl":24,"updatedAt":3779},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3905,3906,3907],{"name":3756,"slug":3757,"type":15},{"name":3774,"slug":3775,"type":15},{"name":3777,"slug":3778,"type":15},{"slug":3781,"name":3781,"fn":3782,"description":3783,"org":3909,"tags":3910,"stars":23,"repoUrl":24,"updatedAt":3789},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3911,3912,3913],{"name":3756,"slug":3757,"type":15},{"name":3777,"slug":3778,"type":15},{"name":3760,"slug":3761,"type":15},{"slug":3791,"name":3791,"fn":3792,"description":3793,"org":3915,"tags":3916,"stars":23,"repoUrl":24,"updatedAt":3804},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3917,3918,3919,3920],{"name":3756,"slug":3757,"type":15},{"name":3777,"slug":3778,"type":15},{"name":3799,"slug":3800,"type":15},{"name":3802,"slug":3803,"type":15},{"slug":3806,"name":3806,"fn":3807,"description":3808,"org":3922,"tags":3923,"stars":23,"repoUrl":24,"updatedAt":3816},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3924,3925,3926],{"name":3812,"slug":3813,"type":15},{"name":3756,"slug":3757,"type":15},{"name":3777,"slug":3778,"type":15},{"slug":3818,"name":3818,"fn":3819,"description":3820,"org":3928,"tags":3929,"stars":23,"repoUrl":24,"updatedAt":3831},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3930,3931,3932,3933],{"name":3824,"slug":3825,"type":15},{"name":3777,"slug":3778,"type":15},{"name":3828,"slug":3829,"type":15},{"name":3802,"slug":3803,"type":15},{"slug":3833,"name":3833,"fn":3834,"description":3835,"org":3935,"tags":3936,"stars":23,"repoUrl":24,"updatedAt":3842},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3937,3938,3939,3940],{"name":3812,"slug":3813,"type":15},{"name":9,"slug":8,"type":15},{"name":3777,"slug":3778,"type":15},{"name":3802,"slug":3803,"type":15},{"slug":3942,"name":3942,"fn":3943,"description":3944,"org":3945,"tags":3946,"stars":23,"repoUrl":24,"updatedAt":3953},"elasticsearch-authz","manage Elasticsearch RBAC and security roles","Manage Elasticsearch RBAC: native users, roles, role mappings, document- and field-level security. Use when creating users or roles, assigning privileges, or mapping external realms like LDAP\u002FSAML.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3947,3948,3949,3952],{"name":9,"slug":8,"type":15},{"name":3777,"slug":3778,"type":15},{"name":3950,"slug":3951,"type":15},"RBAC","rbac",{"name":3802,"slug":3803,"type":15},"2026-07-12T07:47:36.394177",{"slug":3231,"name":3231,"fn":3955,"description":3956,"org":3957,"tags":3958,"stars":23,"repoUrl":24,"updatedAt":3965},"query Elasticsearch data with ES|QL","Execute ES|QL (Elasticsearch Query Language) queries, use when the user wants to query Elasticsearch data, analyze logs, aggregate metrics, explore data, or create charts and dashboards from ES|QL results.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3959,3960,3961,3962],{"name":3853,"slug":3854,"type":15},{"name":3856,"slug":3857,"type":15},{"name":3777,"slug":3778,"type":15},{"name":3963,"slug":3964,"type":15},"SQL","sql","2026-07-12T07:47:40.249533",86]