forked from cleveragents/cleveragents-core
54 lines
1.1 KiB
YAML
54 lines
1.1 KiB
YAML
# Example: MCP server tool
|
|
# Delegates execution to a tool on an MCP server.
|
|
|
|
name: devops/docker-build
|
|
description: Build a Docker image via the DevOps MCP server
|
|
source: mcp
|
|
mcp_server: devops-mcp
|
|
mcp_tool_name: docker_build
|
|
|
|
input_schema:
|
|
type: object
|
|
required:
|
|
- context_dir
|
|
- image_tag
|
|
properties:
|
|
context_dir:
|
|
type: string
|
|
description: Docker build context directory
|
|
image_tag:
|
|
type: string
|
|
description: Tag for the built image
|
|
dockerfile:
|
|
type: string
|
|
description: Path to Dockerfile (relative to context_dir)
|
|
default: Dockerfile
|
|
|
|
output_schema:
|
|
type: object
|
|
properties:
|
|
image_id:
|
|
type: string
|
|
build_log:
|
|
type: string
|
|
|
|
capability:
|
|
read_only: false
|
|
writes: true
|
|
write_scope: container-registry
|
|
checkpointable: false
|
|
side_effects:
|
|
- network
|
|
- container-registry
|
|
unsafe: false
|
|
human_approval_required: false
|
|
|
|
resource_slots:
|
|
- name: source_repo
|
|
resource_type: git-checkout
|
|
access: read_only
|
|
description: Source code repository for the Docker build
|
|
binding: contextual
|
|
|
|
timeout: 600
|