Skip to content

Config Creation Toolset

Tools for creating and managing agent configurations programmatically.

Basic Usage

yaml agents: admin: tools: - type: config_creation

Available Tools

None

Execution Error: TypeError

ConfigCreationTools.init() missing 1 required positional argument: 'schema_path'

from agentpool_toolsets.config_creation import ConfigCreationTools
from agentpool.docs.utils import generate_tool_docs

toolset = ConfigCreationTools()
print(generate_tool_docs(toolset))
Traceback (most recent call last):
  File "/home/runner/work/agentpool/agentpool/.venv/lib/python3.13/site-packages/mknodes/mdext/execute_ext.py", line 226, in formatter
    output = _run_python(source, session=session)
  File "/home/runner/work/agentpool/agentpool/.venv/lib/python3.13/site-packages/mknodes/mdext/execute_ext.py", line 104, in _run_python
    exec(compiled, exec_globals)
    ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "<exec>", line 4, in <module>
TypeError: ConfigCreationTools.__init__() missing 1 required positional argument: 'schema_path'

Use Cases

  • Generate agent configs from templates
  • Create configurations dynamically
  • Manage configuration files

Configuration Reference

Config Creation Toolset

Configuration for config creation with schema validation.

Config Creation Toolset (YAML)
1
2
3
4
5
6
7
8
toolsets:
- type: config_creation
  schema_path:  # Path or URL to the JSON schema for validation.
    path: schema/config-schema.json
    protocol: ''
    storage_options: {}
  markup: yaml  # Markup language for the configuration (yaml, json, toml).
  namespace: null  # Optional namespace prefix for tool names