iblai-api-agent-tool
Skill222 starsChanged 11 days agoMITView on GitHub
Read and change which tools an ibl.ai agent has via the platform API — list the tools its model can use (is_allowed, and the capability_* flag behind each), read the agent's current tools, turn MCP and other tools without a flag on or off through tool_slugs, and avoid the writes that clear every tool (can_use_tools false, a stale replaced list). Use when controlling which tools an agent can use. For one capability such as web search, flip its flag with /iblai-api-agent-setting.
- Reads credentials
- Sends data out
1 other project uses a version of this.
Adopted by
Most recently taken up by
- iblai/vibeword for word, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 1
- iblai/vibe★ 222100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository166 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- iblai-vibe-pr-reviewSkill
- iblai-api-agent-accessSkill
- iblai-api-agent-auditSkill
- iblai-api-agent-chatSkill
- iblai-api-agent-createSkill
- iblai-api-agent-datasetSkill
- iblai-api-agent-disclaimerSkill
- iblai-api-agent-embedSkill
- iblai-api-agent-evalSkill
- iblai-api-agent-historySkill
- iblai-api-agent-llmSkill
- iblai-api-agent-mcpSkill
- iblai-api-agent-memorySkill
- iblai-api-agent-privacySkill
- iblai-api-agent-promptSkill
- iblai-api-agent-safetySkill
- iblai-api-agent-sandboxSkill
- iblai-api-agent-sessionSkill
- iblai-api-agent-settingSkill
- iblai-api-agent-skillSkill
- iblai-api-agent-supportSkill
- iblai-api-agent-voiceSkill
- iblai-api-inferenceSkill
- iblai-api-searchSkill
- iblai-vibe-agent-accessSkill
- iblai-vibe-agent-analyticsSkill
- iblai-vibe-agent-apiSkill
- iblai-vibe-agent-assistantSkill
- iblai-vibe-agent-auditSkill
- iblai-vibe-agent-billingSkill
- iblai-vibe-agent-chat-sidebarSkill
- iblai-vibe-agent-chatSkill
- iblai-vibe-agent-createSkill
- iblai-vibe-agent-datasetSkill
- iblai-vibe-agent-disclaimerSkill
- iblai-vibe-agent-embedSkill
- iblai-vibe-agent-evalsSkill
- iblai-vibe-agent-graderSkill
- iblai-vibe-agent-historySkill
- iblai-vibe-agent-llmSkill
- iblai-vibe-agent-ltiSkill
- iblai-vibe-agent-mcpSkill
- iblai-vibe-agent-memorySkill
- iblai-vibe-agent-privacySkill
- iblai-vibe-agent-promptSkill
- iblai-vibe-agent-safetySkill
- iblai-vibe-agent-sandboxSkill
- iblai-vibe-agent-screenshareSkill
- iblai-vibe-agent-searchSkill
- iblai-vibe-agent-settingSkill
- iblai-vibe-agentSkill
- iblai-vibe-agent-skillsSkill
- iblai-vibe-agent-supportSkill
- iblai-vibe-agent-taskSkill
- iblai-vibe-agent-toolSkill
- iblai-vibe-agent-virtual-machineSkill
- iblai-vibe-agent-voiceSkill
- iblai-vibe-incognitoSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Read and change an agent's tools.
- Very specific: line 27
Not connected yet? Run /iblai-api-login first to populate IBLAI_ORG, IBLAI_USERNAME, and IBLAI_API_KEY.
- Very specific: line 77
The list replaces the agent's tools: Every slug left out is removed, and every tool-backed flag is set from the list: leave web-search out …
- Very specific: line 97
can_use_tools: falseclears every tool on the agent: Every tool-backed flag turns off and mcp is removed.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
iblai-api-agent-tool
Read and change an agent's tools. The agent's tools are one set, saved
through the agent settings/ endpoint. On API version 4.467.0 or later most tools are
governed by a capability_* flag on the agent's settings: flip the flag
(/iblai-api-agent-setting) to turn one capability on or off without touching
the others. tool_slugs writes the whole set; use it for a tool with no flag,
such as mcp.
Auth & conventions
- Base URL:
https://api.iblai.app - Header:
Authorization: Api-Token $IBLAI_API_KEYon every request. - Path vars:
{org}=$IBLAI_ORG,{username}=$IBLAI_USERNAME,{mentor}= the agent's unique id (e.g.d17dc729-60fd-4363-81a0-f67d9318b03e). - Tool writes go through the agent settings endpoint —
PUT
…/users/{username}/mentors/{mentor}/settings/(no PATCH). can_use_tools: falseremoves every tool from the agent. Confirm with the user first.- Not connected yet? Run
/iblai-api-loginfirst to populateIBLAI_ORG,IBLAI_USERNAME, andIBLAI_API_KEY.
Tools and flags
Tool name | Flag that governs it |
| Web Search, Web Fetch | capability_web_search |
| Image Generation | capability_image_generation |
| Video Generation | capability_video_generation |
| Code Interpreter | capability_code_interpreter |
| Advanced Document Search | capability_advanced_document_search |
| Grading | capability_grading |
| Lesson Completion | capability_lesson_completion |
| Human Support | capability_human_support |
| Screen Share | capability_screen_share |
MCP (mcp) and any other tool | none: only tool_slugs adds or removes it |
capability_subagents ("Plan") is a flag with no tool, so it never appears in
a tool list. Course Creation, Google Docs, Google Slides, Google Calendar, Deep
Research and Study Mode are no longer listed. They keep working on agents that
already have them, and tool_slugs still accepts their slugs.
Reads
- GET
https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/users/{username}/mentors/{mentor}/available-tools/?search={q}&ordering={field}— the tools the agent can be given. Each row:id,name,slug(the valuetool_slugstakes),display_name,description,category({id, name, description}),logo,metadata, theallow_base_agent/allow_openai_agent/allow_openai_assistant/allow_google_agentbooleans,is_allowedandcapability_field.is_allowed: whether the agent's current model can use the tool —true,false, ornullwhen no model is known. The schema types it as a string, so treatfalseand"false"alike. Read the list again after changing the agent's model.capability_field: thecapability_*flag that governs the tool, ornullwhen it has none.
- GET
https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/users/{username}/mentors/{mentor}/settings/— the agent's tools now, asmentor_tools[](read eachslug), pluscan_use_tools, thecapability_*flags andmcp_servers.
Writes
- PUT
https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/users/{username}/mentors/{mentor}/settings/— replace the agent's tools:{ "tool_slugs": "string[] (the whole set)", "can_use_tools": "boolean" }- The list replaces the agent's tools. Every slug left out is removed,
and every tool-backed flag is set from the list: leave
web-searchout andcapability_web_searchturns off. Acapability_*flag sent in the same request wins for its own capability. - Build it from a fresh read. GET the settings, take the slugs from
mentor_tools, change one, and send the list back. A list built from an older read undoes changes saved since. - Empty list: send
{"tool_slugs": []}as JSON. Multipart drops an empty list, so nothing changes."tool_slugs": nullis a400. - Every tool in the list is checked again, not only the one you
changed. A
400names what fails: an unknown slug (No tool found with the provided slug: <slug>.), a tool the model cannot run (Tool '<name>' is not compatible with model '<llm>'.),mcpon a model without MCP (MCP is not supported with the model <llm>), orscreen-sharewhile the organization has no API key for the AI provider of the agent's voice calls (… API key is required to use screen share with … models.). The body carrieserrorand, for these, the original messages indeveloper_error. can_use_toolsmust be on. A non-empty list on an agent withcan_use_tools: falseis a400(Mentor <name> cannot use tools.); send"can_use_tools": truein the same request.can_use_tools: falseclears every tool on the agent. Every tool-backed flag turns off andmcpis removed;capability_subagentsandmcp_serversstay. Turning tools back on restores nothing. Never send it to remove one tool. Confirm with the user first.
- The list replaces the agent's tools. Every slug left out is removed,
and every tool-backed flag is set from the list: leave
MCP on or off
MCP has no flag: it is on while mcp is among the agent's tools. To turn it
on, add mcp to the slugs from a fresh mentor_tools read (with
"can_use_tools": true when the agent has it false). To turn it off, send
that list without mcp, as JSON. The agent's mcp_servers stay attached
while MCP is off. Servers, connections and sign-in: /iblai-api-agent-mcp.
Example
Turn MCP on without dropping the agent's other tools:
S="https://api.iblai.app/dm/api/ai-mentor/orgs/$IBLAI_ORG/users/$IBLAI_USERNAME/mentors/$MENTOR/settings/"
AUTH="Authorization: Api-Token $IBLAI_API_KEY"
BODY=$(curl -s "$S" -H "$AUTH" | jq -c '
{tool_slugs: ([.mentor_tools[].slug] + ["mcp"] | unique)}
+ (if .can_use_tools then {} else {can_use_tools: true} end)')
curl -X PUT "$S" -H "$AUTH" -H "Content-Type: application/json" -d "$BODY"Notes
- One capability, one flag. To turn web search, image generation, Human
Support or another flagged tool on or off, send its
capability_*flag alone (/iblai-api-agent-setting). It needs no read first and cannot drop another tool. - A chat's own tool list (
toolsonPOST …/users/{username}/sessions/andPUT …/users/{username}/sessions/{session_id}/, see/iblai-api-agent-session) may name only tools the agent has now. One slug the agent no longer has (a capability, Human Support or MCP turned off since the chat began) refuses the whole request:400 {"error": "Invalid tool slugs received: human-support, mcp."}. Drop the slugs it names and send again. - Open chats. The agent's flags are a ceiling: turning a capability off stops it from the next turn of every open chat.
- Take slugs from
available-tools/ormentor_tools; never guess them. Examples:web-search,code-interpreter,screen-share,human-support,mcp.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

