The sam tools command allows you to explore and discover built-in tools available in Solace Agent Mesh. Tools provide agents with capabilities to perform actions like file operations, data analysis, web interactions, and more.
═══ Artifact Management ═══ • create_artifact Creates a new artifact with specified content and metadata. • read_artifact Reads an existing artifact by ID and returns its content. • list_artifacts Lists all artifacts in the current scope with optional filtering. • delete_artifact Deletes an artifact by ID.═══ Data Analysis ═══ • analyze_csv Analyzes CSV data and generates statistical summaries. • create_chart Creates visualization charts from data.Total: 6 tools
Detailed format (--detailed):
╭──────────────────────────────────────────────────────────╮│ Artifact Management ││ Tools for creating, reading, and managing artifacts │╰──────────────────────────────────────────────────────────╯Tool: create_artifactDescription: Creates a new artifact with specified content and metadata.Parameters: - content (string, required): The content of the artifact - name (string, optional): Name for the artifact - metadata (object, optional): Additional metadataRequired Scopes: artifact:writeTool: read_artifactDescription: Reads an existing artifact by ID and returns its content.Parameters: - artifact_id (string, required): ID of the artifact to readRequired Scopes: artifact:read...Total: 6 tools
JSON format (--json):
[ { "name": "create_artifact", "description": "Creates a new artifact with specified content and metadata.", "category": "artifact_management", "category_name": "Artifact Management", "required_scopes": ["artifact:write"], "parameters": { "type": "object", "properties": { "content": { "type": "string", "description": "The content of the artifact" }, "name": { "type": "string", "description": "Name for the artifact" } }, "required": ["content"] } }, ...]
JSON detailed format (--json --detailed):Includes additional fields:
Tools are registered in the tool registry at runtime. The registry provides:
Tool discovery by name or category
Parameter validation
Scope checking
Tool metadata
Access in Python:
from solace_agent_mesh.agent.tools.registry import tool_registry# Get all toolsall_tools = tool_registry.get_all_tools()# Get tools by categoryweb_tools = tool_registry.get_tools_by_category('web')# Get specific tooltool = tool_registry.get_tool('create_artifact')