
Skill
foundry-agents
inspect and invoke Foundry prompt agents
Description
Query and inspect Foundry prompt agents and invoke Foundry tools via the Responses API. OpenClaw is the orchestrator — Foundry provides managed AI services.
SKILL.md
Foundry Services — Agent Tools via Responses API
OpenClaw is the agent orchestrator. Foundry provides managed AI services that OpenClaw agents can use via the Responses API. You do NOT create Foundry agents — you call Foundry tools directly.
Endpoint
All requests: http://localhost:8443 with ?api-version=2025-11-15-preview. Auth is automatic.
Calling Foundry Tools via Responses API
Code Interpreter (run Python)
curl -s -X POST 'http://localhost:8443/openai/responses?api-version=2025-11-15-preview' \
-H 'Content-Type: application/json' \
-d '{"model":"gpt-4.1","input":"Calculate fibonacci(20) using Python","tools":[{"type":"code_interpreter","container":{"type":"auto"}}],"store":false}'
Web Search (Bing grounding)
curl -s -X POST 'http://localhost:8443/openai/responses?api-version=2025-11-15-preview' \
-H 'Content-Type: application/json' \
-d '{"model":"gpt-4.1","input":"What are the latest Rust language features?","tools":[{"type":"bing_grounding"}],"store":false}'
Memory Search (cross-session recall)
curl -s -X POST 'http://localhost:8443/openai/responses?api-version=2025-11-15-preview' \
-H 'Content-Type: application/json' \
-d '{"model":"gpt-4.1","input":"What beverage does the user prefer?","tools":[{"type":"memory_search","memory_store_name":"kars-memory","scope":"default"}],"store":false}'
Querying Foundry Infrastructure
List existing agents in the project
curl -s 'http://localhost:8443/agents?api-version=2025-11-15-preview'
List model deployments
curl -s 'http://localhost:8443/deployments?api-version=2025-11-15-preview'
When to use
- Call Foundry tools (code interpreter, web search, memory) via Responses API
- Inspect what Foundry agents or models exist in the project
- Use Foundry as a service layer for OpenClaw agent capabilities
When NOT to use
- Do NOT create Foundry agents — OpenClaw is the agent orchestrator
- For memory CRUD operations (use foundry-memory skill)
- For simple chat completions (use /v1/chat/completions directly)
More skills from the kars repository
View all 11 skillsagt-governance
enforce behavioral governance for agents
Jul 12AgentsAuditAzureGovernance +1foundry-code
execute Python code in Azure Foundry
Jul 12AzureChartsData AnalysisData Visualization +2foundry-conversations
manage persistent conversations via Foundry
Jul 12AgentsAzureMemoryfoundry-deployments
query Foundry model deployments and infrastructure
Jul 12AzureInfrastructureLLMfoundry-evaluations
evaluate agent quality with Foundry Evals
Jul 12AzureEvalsLLMOpenAIfoundry-knowledge
retrieve knowledge via Foundry RAG
Jul 12AzureKnowledge ManagementResearchSearch
More from Azure (Microsoft)
View publisherazure-arg-external-evaluation-policy-author
author and test Azure Resource Graph policies
azure-policy
Jul 12AzureComplianceGovernancePolicyazure-blueprints-migration
migrate Azure Blueprints to Template Specs
azure-blueprints
Jul 12AzureDeploymentInfrastructure as CodeMigrationapiview-feedback-resolution
resolve APIView feedback on Azure SDKs
azure-sdk-tools
Jul 12API DevelopmentAzureCode ReviewDocumentationazsdk-common-live-and-recorded-tests
deploy resources and run Azure SDK tests
azure-sdk-tools
Jul 12AzureDeploymentSDKTestingazsdk-common-prepare-release-plan
manage Azure SDK release plan work items
azure-sdk-tools
Jul 12AzureGitHubProject ManagementSDKazsdk-common-sdk-release
release Azure SDK packages
azure-sdk-tools
Jul 12AzureCI/CDDeploymentSDK