Structure and usage of the Agent Manifest
@server.agent
decorator is used to configure an agent’s metadata when registering it with an ACP server:
input_content_types
and output_content_types
fields specify the MIME types that an agent can handle. Wildcards are supported.
*/*
: Any contentimage/*
: Any imagetext/plain
: Plain text contentapplication/json
: JSON structured dataimage/png
: PNG image filesimage/jpeg
: JPEG image filesapplication/pdf
: PDF documentsinput_content_types
and output_content_types
are not specified in the decorator, they default to ["*/*"]
:
The schema is of type object
.