MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions13,938 in github.com/crewAIInc/crewAI

↓ 3 callersFunctionenable_prompt_line_editing
Enable cursor movement/history editing for Click text prompts when available.
lib/cli/src/crewai_cli/utils.py:78
↓ 3 callersMethodevaluate
( self, agent: Agent | BaseAgent, execution_trace: dict[str, Any], final_outpu
lib/crewai/src/crewai/experimental/evaluation/metrics/tools_metrics.py:27
↓ 3 callersMethodevaluate
( self, agent: Agent | BaseAgent, execution_trace: dict[str, Any], final_outpu
lib/crewai/src/crewai/experimental/evaluation/metrics/tools_metrics.py:310
↓ 3 callersMethodevaluate
( self, agent: Agent | BaseAgent, execution_trace: dict[str, Any], final_outpu
lib/crewai/src/crewai/experimental/evaluation/metrics/semantic_quality_metrics.py:25
↓ 3 callersMethodevaluate_training_data
Evaluate the training data based on the llm output, human feedback, and improved output. Args: - training_data: The trai
lib/crewai/src/crewai/utilities/evaluators/task_evaluator.py:115
↓ 3 callersMethodexecute_async
Execute the task asynchronously.
lib/crewai/src/crewai/task.py:609
↓ 3 callersMethodexecute_native_tool
Execute native tool calls in a batch. Processes all tools from pending_tool_calls, executes them, and appends results to the conversa
lib/crewai/src/crewai/experimental/agent_executor.py:1694
↓ 3 callersMethodextract
(self, options: Any)
lib/crewai-tools/src/crewai_tools/tools/stagehand_tool/stagehand_tool.py:291
↓ 3 callersMethodextract_all_states
Extract conversation states from all registered extensions. Args: conversation_history: The sequence of A2A messages exchanged.
lib/crewai/src/crewai/a2a/extensions/base.py:195
↓ 3 callersFunctionextract_common_params
Extract common parameters from handler kwargs. Args: kwargs: Handler kwargs dict. Returns: CommonParams with extracted value
lib/crewai/src/crewai/a2a/updates/base.py:152
↓ 3 callersMethodextract_id
Extract the checkpoint ID from a file path. The filename format is ``{ts}_{uuid8}_p-{parent}.json``. The checkpoint ID is the ``{ts}_
lib/crewai/src/crewai/state/provider/json_provider.py:113
↓ 3 callersMethodextract_memories
Extract discrete memories from a raw content blob using the LLM. This is a pure helper -- it does NOT store anything. Call remember()
lib/crewai/src/crewai/memory/unified_memory.py:667
↓ 3 callersMethodfeature_usage_span
Records that a feature was used. One span = one count.
lib/crewai-core/src/crewai_core/telemetry.py:349
↓ 3 callersMethodfilter_by_names
(self, names: list[str] | None = None)
lib/crewai-tools/src/crewai_tools/adapters/tool_collection.py:63
↓ 3 callersFunctionfind_version_files
Find all __init__.py files that contain __version__. Args: base_path: Base directory to search in. Returns: List of paths to
lib/devtools/src/crewai_devtools/cli.py:679
↓ 3 callersMethodfitToAvailableSpace
(centerScreen = false)
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:2404
↓ 3 callersFunctionflow_template_expression_description
(prefix: str)
lib/crewai/src/crewai/flow/expressions.py:134
↓ 3 callersMethodflush_to_central
Sync local shard records to the central shard.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:773
↓ 3 callersMethodforce_flush
(self, timeout_millis: int = 30000)
lib/crewai/tests/telemetry/test_tracer_isolation.py:34
↓ 3 callersFunctionformat_error_for_display
Return exception details without OS-added absolute path context.
lib/crewai-tools/src/crewai_tools/security/safe_path.py:44
↓ 3 callersFunctionformat_inline_value
(value: Any)
lib/crewai/src/crewai/flow/skill.py:538
↓ 3 callersFunctionformat_native_tool_output_for_agent
Format native tool output when a tool explicitly defines a formatter.
lib/crewai/src/crewai/utilities/agent_utils.py:1541
↓ 3 callersMethodfrom_settings
Build an ``Oauth2Settings`` instance from the persisted CrewAI settings.
lib/crewai-core/src/crewai_core/auth/oauth2.py:45
↓ 3 callersMethodfrom_tool_pack
Create multiple MergeAgentHandlerTool instances from a Tool Pack. Args: tool_pack_id: UUID of the Tool Pack
lib/crewai-tools/src/crewai_tools/tools/merge_agent_handler_tool/merge_agent_handler_tool.py:267
↓ 3 callersFunctiongenerate_input_description_with_ai
Generate an input description using AI based on the context of the crew. Args: input_name: The name of the input placeholder. cre
lib/crewai/src/crewai/utilities/crew_chat.py:407
↓ 3 callersFunctionget_enclosing_parent_id
Get the parent of the current scope (stack[-2]).
lib/crewai/src/crewai/events/event_context.py:68
↓ 3 callersFunctionget_enterprise_api_base_url
Get the enterprise API base URL from environment or use default.
lib/crewai-tools/src/crewai_tools/adapters/enterprise_adapter.py:12
↓ 3 callersMethodget_file_info
Get information about an uploaded file. Args: file_id: The file identifier. Returns: Dictionary with file in
lib/crewai-files/src/crewai_files/uploaders/base.py:101
↓ 3 callersFunctionget_files
Retrieve files for a crew execution. Args: execution_id: Unique identifier for the crew execution. Returns: Dictionary of fi
lib/crewai/src/crewai/utilities/file_store.py:193
↓ 3 callersMethodget_last_raw_result
(self, fallback: Any)
lib/crewai/src/crewai/tools/tool_usage.py:143
↓ 3 callersMethodget_loader
(self)
lib/crewai-tools/src/crewai_tools/rag/data_types.py:64
↓ 3 callersFunctionget_packages
Get all packages from lib/ directory. Args: lib_dir: Path to lib/ directory. Returns: List of package directory paths.
lib/devtools/src/crewai_devtools/cli.py:695
↓ 3 callersFunctionget_platform_integration_token
Get the platform API base URL from environment or use default.
lib/crewai-tools/src/crewai_tools/tools/crewai_platform_tools/misc.py:10
↓ 3 callersMethodgoto
(self, url: str)
lib/crewai-tools/src/crewai_tools/tools/stagehand_tool/stagehand_tool.py:288
↓ 3 callersFunctionhandle_agent_action_core
Core logic for handling agent actions and tool results. Args: formatted_answer: The agent's action tool_result: The result of exe
lib/crewai/src/crewai/utilities/agent_utils.py:672
↓ 3 callersMethodhandle_agent_reasoning
Public method for the planning process that creates and refines a plan for the task until the agent is ready to execute it. Returns:
lib/crewai/src/crewai/utilities/reasoning_handler.py:187
↓ 3 callersMethodhandle_flow_status
Show flow status panel.
lib/crewai/src/crewai/events/utils/console_formatter.py:350
↓ 3 callersMethodhandle_lite_agent_execution
Handle lite agent execution events with panel display.
lib/crewai/src/crewai/events/utils/console_formatter.py:814
↓ 3 callersMethodhandle_llm_stream_chunk
Handle LLM stream chunk event - display streaming text in a panel. Args: chunk: The new chunk of text received. accum
lib/crewai/src/crewai/events/utils/console_formatter.py:584
↓ 3 callersMethodhook_dispatched_span
Records an interception-hook dispatch via Feature Usage. Emits ``hooks:<point>`` on every dispatch, plus ``hooks:aborted`` when a hoo
lib/crewai/src/crewai/telemetry/telemetry.py:1184
↓ 3 callersMethodincrement_delegations
Increment the delegations counter.
lib/crewai/src/crewai/task.py:1142
↓ 3 callersFunctioninitialize_if_git_available
Initialize a Git repository when Git is available.
lib/cli/src/crewai_cli/git.py:206
↓ 3 callersFunctioninject_a2a_server_methods
Inject A2A server methods onto an Agent instance. Adds a `to_agent_card(url: str) -> AgentCard` method to the agent that generates an A2A-com
lib/crewai/src/crewai/a2a/utils/agent_card.py:579
↓ 3 callersFunctioninstall_crew
Install the crew by running the UV command to lock and install.
lib/cli/src/crewai_cli/install_crew.py:40
↓ 3 callersMethodinterpolate_inputs_and_add_conversation_history
Interpolate inputs into the task description, expected output, and output file path. Add conversation history if present. Args:
lib/crewai/src/crewai/task.py:1057
↓ 3 callersMethodinvoke_async
Execute agent asynchronously with given inputs. This method is designed for use within async contexts, such as when the agent is call
lib/crewai/src/crewai/experimental/agent_executor.py:2894
↓ 3 callersMethodis_active
Check if this extension is active for the current request. An extension is active if the client declared support for it. Args:
lib/crewai/src/crewai/a2a/extensions/server.py:143
↓ 3 callersFunctionis_flow_method
Check if the object carries Flow method wrapper metadata.
lib/crewai/src/crewai/flow/dsl/_utils.py:46
↓ 3 callersMethodis_git_installed
Check if Git is installed and available in the system.
lib/cli/src/crewai_cli/git.py:41
↓ 3 callersFunctionis_interactive
Prompt only in an interactive terminal, never in non-interactive mode.
lib/cli/src/crewai_cli/input_prompt.py:48
↓ 3 callersFunctionis_replaying
Return True if the current context is dispatching a replayed event. Listeners with side effects (checkpoint writes, external API calls that s
lib/crewai/src/crewai/events/event_bus.py:73
↓ 3 callersFunctionisolated_telemetry
Build a fresh Telemetry without touching the process-wide singleton. Telemetry is a singleton whose __init__ registers atexit and signal hand
lib/crewai/tests/telemetry/test_coding_agent_detection.py:77
↓ 3 callersMethodkickoff_for_each_async
Executes the Crew's workflow for each input asynchronously. Args: inputs: List of input dictionaries, one per execution.
lib/crewai/src/crewai/crew.py:1174
↓ 3 callersMethodlist_cached
Show locally installed skills.
lib/cli/src/crewai_cli/skills/main.py:294
↓ 3 callersMethodlist_crews
List all available crews.
lib/cli/src/crewai_cli/deploy/main.py:550
↓ 3 callersMethodlist_files
List all uploaded files. Returns: List of dictionaries with file information.
lib/crewai-files/src/crewai_files/uploaders/base.py:112
↓ 3 callersMethodlist_tools
List available tools from MCP server. Args: use_cache: Whether to use cached results. If None, uses client's cach
lib/crewai/src/crewai/mcp/client.py:374
↓ 3 callersFunctionload_jsonc_file
Load a JSON or JSONC file.
lib/crewai/src/crewai/project/json_loader.py:206
↓ 3 callersFunctionload_schema
Load a vendored A2UI JSON schema by name and version. Args: name: Schema name without extension, e.g. ``"server_to_client"``. ver
lib/crewai/src/crewai/a2a/extensions/a2ui/schema/__init__.py:37
↓ 3 callersFunctionload_skill_resources
Promote a skill to RESOURCES disclosure level. Catalogs available resource directories (scripts, references, assets). Args: skill: S
lib/crewai/src/crewai/skills/parser.py:159
↓ 3 callersFunctionmock_arxiv_response
()
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:15
↓ 3 callersMethodobserve
Observe a step's result and decide on plan continuation. This runs after EVERY step execution — not just failures. Args:
lib/crewai/src/crewai/agents/planner_observer.py:113
↓ 3 callersMethodoff
Unregister an event handler for a specific event type. Args: event_type: The event class to stop listening for handle
lib/crewai/src/crewai/events/event_bus.py:368
↓ 3 callersMethodon
Decorator to register an event handler for a specific event type. Handlers can accept 2 or 3 arguments: - ``(source, event)`` — s
lib/crewai/src/crewai/events/event_bus.py:245
↓ 3 callersFunctionpick_one
Arrow-key single-select from plain labels. Returns: Selected index, or ``-1`` if cancelled.
lib/cli/src/crewai_cli/tui_picker.py:336
↓ 3 callersMethodprocess_files
Process multiple files according to constraints. Args: files: Dictionary mapping names to file inputs. Returns:
lib/crewai-files/src/crewai_files/processing/processor.py:158
↓ 3 callersMethodread_chunks
Stream file content in chunks without loading entirely into memory. Args: chunk_size: Size of each chunk in bytes. Yield
lib/crewai-files/src/crewai_files/core/sources.py:273
↓ 3 callersMethodremember
Store one or more items in memory. Pass a single string for synchronous save (returns the MemoryRecord). Pass a list of strings for n
lib/crewai/src/crewai/flow/runtime/__init__.py:947
↓ 3 callersMethodremember
Remember content; scope is relative to this scope's root.
lib/crewai/src/crewai/memory/memory_scope.py:102
↓ 3 callersMethodremove
(self, tool: T)
lib/crewai-tools/src/crewai_tools/adapters/tool_collection.py:52
↓ 3 callersMethodrender
({ ctx, id, x, y })
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:82
↓ 3 callersFunctionrender_template
Render a template file using ``{{placeholder}}`` replacements.
lib/cli/src/crewai_cli/utils.py:111
↓ 3 callersMethodreset
(self)
lib/crewai/src/crewai/knowledge/knowledge.py:162
↓ 3 callersMethodreset
(self)
lib/crewai/src/crewai/knowledge/storage/knowledge_storage.py:91
↓ 3 callersMethodresetEdgesToDefault
(edgeIds = null, excludeEdges = [])
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:1161
↓ 3 callersMethodreset_all
Reset the entire backing memory store, ignoring ``root_scope``.
lib/crewai/src/crewai/memory/unified_memory.py:1031
↓ 3 callersFunctionresolve_plus_client
Return the CrewAI AMP client to use, or build ``default``. Hosted runtimes install a client of their own through ``_create_plus_client_hook``
lib/crewai/src/crewai/utilities/agent_utils.py:66
↓ 3 callersFunctionresume_checkpoint
(location: str, checkpoint_id: str | None)
lib/cli/src/crewai_cli/checkpoint_cli.py:467
↓ 3 callersFunctionrun_crew
(**crew_kwargs)
lib/crewai/tests/test_tool_cache_default.py:110
↓ 3 callersFunctionrun_hooks
Execute an explicit list of hooks against a context. This is the shared engine used both by :func:`dispatch` (which resolves global + scoped
lib/crewai/src/crewai/hooks/dispatch.py:284
↓ 3 callersFunctionsanitize_tool_params_for_anthropic_strict
Sanitize a JSON schema for Anthropic strict tool use.
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:626
↓ 3 callersMethodsave_state
Persist the flow state after method completion. Args: flow_uuid: Unique identifier for the flow instance method_name:
lib/crewai/src/crewai/flow/persistence/base.py:48
↓ 3 callersMethodsearch
Search for memories by vector similarity with optional filters. Args: query_embedding: Embedding vector for the query.
lib/crewai/src/crewai/memory/storage/backend.py:56
↓ 3 callersMethodset_callbacks
Attempt to keep a single set of callbacks in litellm by removing old duplicates and adding new ones. Note: This only affects
lib/crewai/src/crewai/llm.py:2479
↓ 3 callersFunctionset_emission_counter
Set the emission counter to resume from a given value.
lib/crewai/src/crewai/events/base_events.py:59
↓ 3 callersMethodset_headers
(self, headers: dict[str, Any])
lib/crewai-tools/src/crewai_tools/tools/brave_search_tool/base.py:148
↓ 3 callersMethodset_runtime_state
Set the RuntimeState that will be passed to event handlers.
lib/crewai/src/crewai/events/event_bus.py:282
↓ 3 callersMethodsetup_listeners
(self, crewai_event_bus: CrewAIEventsBus)
lib/crewai/src/crewai/events/event_listener.py:168
↓ 3 callersFunctionshould_suppress_console_output
Return True if console output should currently be suppressed.
lib/crewai-core/src/crewai_core/printer.py:27
↓ 3 callersMethodstart
(self)
lib/crewai/tests/tools/test_structured_tool.py:371
↓ 3 callersMethodstream_turn
Append a user message and stream one conversational turn as frames.
lib/crewai/src/crewai/experimental/conversational_mixin.py:357
↓ 3 callersMethodsupports_stop_words
Check if the LLM supports stop words. Returns: True if the LLM supports stop words, False otherwise.
lib/crewai/src/crewai/llms/base_llm.py:436
↓ 3 callersMethodsupports_stop_words
Check if the model supports stop words.
lib/crewai/src/crewai/llms/providers/openai/completion.py:2642
↓ 3 callersMethodtest
Test and evaluate the Crew with the given inputs for n iterations. Uses concurrent.futures for concurrent execution.
lib/crewai/src/crewai/crew.py:2217
↓ 3 callersMethodto_config_dict
Serialize this LLM to a dict that can reconstruct it via ``LLM(**config)``. Returns the core fields that BaseLLM owns. Provider subclasses sh
lib/crewai/src/crewai/llms/base_llm.py:292
↓ 3 callersFunctionto_langchain
Convert a list of tools to CrewStructuredTool instances.
lib/crewai/src/crewai/tools/base_tool.py:666
↓ 3 callersMethodtool_usage_error
Records when a tool usage results in an error. Args: llm: The language model being used when the error occurred. agen
lib/crewai/src/crewai/telemetry/telemetry.py:647
↓ 3 callersFunctiontrack_delegation_if_needed
Track delegation if the tool is a delegation tool. Args: tool_name: Name of the tool being executed. tool_args: Arguments passed
lib/crewai/src/crewai/utilities/agent_utils.py:1304
↓ 3 callersMethodtrain
Trains the crew for a given number of iterations.
lib/crewai/src/crewai/crew.py:936
↓ 3 callersFunctionunregister_after_llm_call_hook
Unregister a specific global after_llm_call hook. Args: hook: The hook function to remove Returns: True if the hook was foun
lib/crewai/src/crewai/hooks/llm_hooks.py:301
← previousnext →1,201–1,300 of 13,938, ranked by callers