MCPcopy Index your code

hub / github.com/EmilLindfors/a2a-rs / functions

Functions1,168 in github.com/EmilLindfors/a2a-rs

↓ 455 callersMethodclone
(&self)
a2a-rs/src/adapter/storage/task_storage.rs:742
↓ 126 callersMethodis_empty
Check if the cache is empty.
a2a-agents-common/src/caching/mod.rs:91
↓ 119 callersMethodinsert
Insert a value into the cache.
a2a-agents-common/src/caching/mod.rs:65
↓ 98 callersMethodget
Get a value from the cache.
a2a-agents-common/src/caching/mod.rs:70
↓ 82 callersMethodbuild
Build the [`WebA2AClient`]. # Panics Panics if `http_url` was not set. # Examples ```rust use a2a_client::WebA2AClient; let client = WebA2AClient
a2a-client/src/lib.rs:331
↓ 70 callersMethodmessage_id
(mut self, message_id: String)
a2a-rs/src/domain/core/message.rs:241
↓ 70 callersMethodrole
(mut self, role: Role)
a2a-rs/src/domain/core/message.rs:256
↓ 66 callersMethodparts
(mut self, parts: Vec<Part>)
a2a-rs/src/domain/core/message.rs:261
↓ 55 callersMethodas_str
Returns the wire-format string for this role.
a2a-ap2/src/types/roles.rs:46
↓ 49 callersMethodbuild
(self)
a2a-rs/src/domain/core/task.rs:257
↓ 49 callersMethodbuild
Build the agent runtime
a2a-agents/src/core/builder.rs:353
↓ 48 callersMethodcontext_id
(mut self, context_id: String)
a2a-rs/src/domain/core/task.rs:232
↓ 48 callersMethodurl
(&self)
a2a-rs/src/domain/core/agent.rs:234
↓ 45 callersMethodstatus
(mut self, status: TaskStatus)
a2a-rs/src/domain/core/task.rs:237
↓ 37 callersMethodlen
Get the number of entries in the cache.
a2a-agents-common/src/caching/mod.rs:86
↓ 34 callersMethodupdate_task_status
( &self, _task_id: &str, _state: TaskState, _message: Option<Message>, )
a2a-rs/tests/common/test_handler.rs:84
↓ 33 callersMethodid
(mut self, id: String)
a2a-rs/src/domain/core/task.rs:227
↓ 31 callersMethodcreate_task
(&self, _task_id: &str, _context_id: &str)
a2a-rs/tests/common/test_handler.rs:72
↓ 31 callersMethodlist_tasks_v3
( &self, params: &a2a_rs::domain::ListTasksParams, )
a2a-rs/tests/common/test_handler.rs:221
↓ 29 callersMethodhistory
(mut self, history: Vec<Message>)
a2a-rs/src/domain/core/task.rs:247
↓ 28 callersMethodlist_tasks
List tasks with optional filtering
a2a-rs/src/port/task_manager.rs:38
↓ 24 callersMethodget_text
Helper method to get the text content if this is a Text part
a2a-rs/src/domain/core/message.rs:69
↓ 23 callersMethodserve
Start serving A2A requests
a2a-mcp/src/server.rs:65
↓ 21 callersMethodsend_task_message
( &self, task_id: &str, message: &Message, session_id: Option<&str>, h
a2a-rs/src/adapter/transport/http/client.rs:256
↓ 21 callersMethodvalidate
(&self)
a2a-rs/src/domain/core/task.rs:390
↓ 20 callersMethodcapabilities
(mut self, capabilities: AgentCapabilities)
a2a-rs/src/domain/core/agent.rs:359
↓ 20 callersMethoddefault_input_modes
(mut self, default_input_modes: Vec<String>)
a2a-rs/src/domain/core/agent.rs:394
↓ 20 callersMethoddefault_output_modes
(mut self, default_output_modes: Vec<String>)
a2a-rs/src/domain/core/agent.rs:399
↓ 20 callersMethodname
(mut self, name: String)
a2a-rs/src/domain/core/agent.rs:309
↓ 19 callersMethoddescription
(mut self, description: String)
a2a-rs/src/domain/core/agent.rs:314
↓ 19 callersMethodversion
(mut self, version: String)
a2a-rs/src/domain/core/agent.rs:329
↓ 18 callersMethodskills
(mut self, skills: Vec<AgentSkill>)
a2a-rs/src/domain/core/agent.rs:404
↓ 17 callersMethodlist_push_notification_configs
( &self, params: &a2a_rs::domain::ListTaskPushNotificationConfigsParams, )
a2a-rs/tests/common/test_handler.rs:235
↓ 15 callersFunctionsetup_test_server
Helper function to setup a test server with pre-populated tasks
a2a-rs/tests/client_v3_methods_test.rs:20
↓ 15 callersMethodupdate_status
(&mut self, state: TaskState, message: Option<Message>)
a2a-rs/src/domain/core/task.rs:312
↓ 14 callersFunctionextract_definition
Extract a specific definition from a schema file with all definitions context
a2a-rs/tests/spec_compliance_test.rs:33
↓ 14 callersMethodinto_response
(self)
a2a-agents/bin/reimbursement_demo.rs:814
↓ 13 callersFunctioncreate_test_storage
()
a2a-rs/tests/sqlx_storage_test.rs:12
↓ 13 callersFunctioncreate_test_tasks
Helper to create tasks with different states and contexts
a2a-rs/tests/in_memory_storage_v3_test.rs:15
↓ 13 callersMethodwith_metadata
Add metadata to the context
a2a-rs/src/port/authenticator.rs:30
↓ 12 callersMethodclone
(&self)
a2a-rs/src/adapter/storage/sqlx_storage.rs:1222
↓ 12 callersMethodprocess_message
( &self, task_id: &str, message: &Message, _session_id: Option<&str>, )
a2a-agents/examples/minimal_agent.rs:21
↓ 12 callersMethodrun
Start the appropriate server(s) based on configuration
a2a-agents/src/core/runtime.rs:430
↓ 12 callersMethodwith_description
Set the description of the agent
a2a-rs/src/adapter/business/agent_info.rs:36
↓ 11 callersMethodadd_intent
Add an intent with associated keywords.
a2a-agents-common/src/nlp/intent.rs:36
↓ 11 callersMethodclone
(&self)
a2a-rs/src/adapter/transport/http/server.rs:138
↓ 11 callersMethodset_task_notification
( &self, _config: &a2a_rs::domain::TaskPushNotificationConfig, )
a2a-rs/tests/common/test_handler.rs:109
↓ 11 callersMethodwith_handler
Set the message handler for this agent
a2a-agents/src/core/builder.rs:309
↓ 10 callersMethodset_task_push_notification
( &self, config: &TaskPushNotificationConfig, )
a2a-rs/src/adapter/transport/http/client.rs:327
↓ 10 callersMethodstart
Start HTTP server
a2a-agents/src/agents/reimbursement/server.rs:100
↓ 9 callersMethodbuild
Build the markdown table string.
a2a-agents-common/src/formatting/table.rs:66
↓ 9 callersMethoddelete_push_notification_config
( &self, params: &a2a_rs::domain::DeleteTaskPushNotificationConfigParams, )
a2a-rs/tests/common/test_handler.rs:242
↓ 9 callersMethodget_task
(&self, _task_id: &str, _history_length: Option<u32>)
a2a-rs/tests/common/test_handler.rs:78
↓ 9 callersFunctionsetup_server
Helper to set up a server with a task
a2a-rs/tests/push_notification_crud_test.rs:25
↓ 9 callersFunctionsetup_server_with_tasks
(port: u16)
a2a-rs/tests/task_list_test.rs:19
↓ 9 callersMethodtext
(content: String)
a2a-rs/src/domain/core/message.rs:15
↓ 9 callersMethodupdate_task_status
( &self, _task_id: &str, _state: TaskState, _message: Option<Message>, )
a2a-rs/examples/common/simple_agent_handler.rs:98
↓ 9 callersMethodwith_limited_history
(&self, history_length: Option<u32>)
a2a-rs/src/domain/core/task.rs:332
↓ 8 callersMethodbuild
Build the final markdown string.
a2a-agents-common/src/formatting/markdown.rs:128
↓ 8 callersMethodextract
Extract all entities from text. Returns a HashMap where keys are entity types and values are vectors of extracted strings.
a2a-agents-common/src/nlp/entity.rs:82
↓ 8 callersMethodget_push_notification_config
( &self, params: &a2a_rs::domain::GetTaskPushNotificationConfigParams, )
a2a-rs/tests/common/test_handler.rs:228
↓ 8 callersMethodrow
Add a row to the table.
a2a-agents-common/src/formatting/table.rs:59
↓ 8 callersFunctionwith_auth
Helper function to apply authentication middleware to a router
a2a-rs/src/adapter/auth/authenticator.rs:403
↓ 7 callersMethodextract_with_regex
(&self, regex: &Regex, text: &str)
a2a-agents-common/src/nlp/entity.rs:131
↓ 7 callersMethodget_task
(&self, task_id: &str, history_length: Option<u32>)
a2a-agents/src/core/builder.rs:49
↓ 7 callersMethodtimestamp_utc
(&self)
a2a-rs/src/domain/core/task.rs:70
↓ 7 callersMethodwith_attribute
Add an attribute to the principal
a2a-rs/src/port/authenticator.rs:76
↓ 7 callersMethodwith_storage
Set custom storage for this agent
a2a-agents/src/core/builder.rs:321
↓ 6 callersMethodadd_part
Add a part to this message
a2a-rs/src/domain/core/message.rs:323
↓ 6 callersMethodadd_skill
Add a basic skill
a2a-rs/src/adapter/business/agent_info.rs:215
↓ 6 callersMethodextract_builtin
( &self, name: &str, regex: &Regex, text: &str, entities: &mut HashMap
a2a-agents-common/src/nlp/entity.rs:118
↓ 6 callersMethodget_agent_card
Fetch the agent card from the agent's `/agent-card` endpoint (plain HTTP GET)
a2a-rs/src/adapter/transport/http/client.rs:182
↓ 6 callersMethodget_info
(&self)
a2a-mcp/tests/mcp_to_a2a_integration.rs:132
↓ 6 callersMethodget_task_notification
( &self, task_id: &str, )
a2a-rs/src/adapter/storage/task_storage.rs:554
↓ 6 callersMethodheading
Add a heading at the specified level (1-6).
a2a-agents-common/src/formatting/markdown.rs:32
↓ 6 callersMethodupdate_task_status
( &self, task_id: &str, state: TaskState, message: Option<a2a_rs::domain::Mess
a2a-agents/src/core/builder.rs:57
↓ 6 callersMethodwith_push_notifications
Enable push notifications capability
a2a-rs/src/adapter/business/agent_info.rs:70
↓ 6 callersMethodwith_state_transition_history
Enable state transition history capability
a2a-rs/src/adapter/business/agent_info.rs:79
↓ 5 callersMethodalign
Set column alignment.
a2a-agents-common/src/formatting/table.rs:51
↓ 5 callersMethodartifacts
(mut self, artifacts: Vec<Artifact>)
a2a-rs/src/domain/core/task.rs:242
↓ 5 callersMethodclear
Clear all entries from the cache.
a2a-agents-common/src/caching/mod.rs:80
↓ 5 callersFunctioncreate_tool_call_message
Build an A2A [`Message`] that carries an MCP tool-call envelope. Produces a `User`-role message with no `parts` and a single metadata entry under [`M
a2a-mcp/src/bridge/mcp_to_a2a.rs:706
↓ 5 callersFunctionextract_from_part
(part: &Part, key: &str)
a2a-ap2/src/helpers.rs:178
↓ 5 callersMethodget_extended_agent_card
Fetch the extended agent card using ConnectRPC
a2a-rs/src/adapter/transport/http/client.rs:233
↓ 5 callersMethodget_task
(&self, task_id: &str, history_length: Option<u32>)
a2a-rs/src/adapter/storage/task_storage.rs:315
↓ 5 callersMethodget_task
(&self, task_id: &str, history_length: Option<u32>)
a2a-rs/src/adapter/storage/sqlx_storage.rs:603
↓ 5 callersMethodheader
Set the table headers.
a2a-agents-common/src/formatting/table.rs:44
↓ 5 callersMethodname
(&self)
a2a-agents/src/agents/reimbursement/plugin.rs:22
↓ 5 callersFunctionprompt_message_to_a2a_message
Helper to map `PromptMessage` to A2A `Message`.
a2a-mcp/src/bridge/mcp_to_a2a.rs:638
↓ 5 callersFunctionsetup_server
(port: u16, supports_authenticated_card: bool)
a2a-rs/tests/authenticated_card_test.rs:17
↓ 5 callersMethodwith_documentation_url
Set the documentation URL of the agent
a2a-rs/src/adapter/business/agent_info.rs:58
↓ 5 callersMethodwith_provider
Set the provider of the agent
a2a-rs/src/adapter/business/agent_info.rs:42
↓ 5 callersMethodwith_timeout
Set the timeout for requests
a2a-rs/src/adapter/transport/http/client.rs:148
↓ 4 callersFunctionap2_extension
Create an [`AgentExtension`] declaring AP2 support with the given roles. Agents that perform the `Merchant` role SHOULD set `required` to `true`.
a2a-ap2/src/extension.rs:10
↓ 4 callersMethodbroadcast_status_update
Send a status update to all subscribers for a task
a2a-rs/src/adapter/storage/task_storage.rs:125
↓ 4 callersMethodbytes
Set file content as bytes
a2a-rs/src/domain/core/message.rs:163
↓ 4 callersMethodcall_tool
( &self, CallToolRequestParams { name, .. }: CallToolRequestParams, ctx: RequestContex
a2a-mcp/tests/mcp_to_a2a_integration.rs:157
↓ 4 callersMethodcancel_task
(&self, _task_id: &str)
a2a-rs/tests/common/test_handler.rs:95
↓ 4 callersMethodcancel_task
(&self, _task_id: &str)
a2a-rs/examples/common/simple_agent_handler.rs:109
↓ 4 callersMethodconfig
Access the configuration
a2a-agents/src/core/builder.rs:333
next →1–100 of 1,168, ranked by callers