MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions20,757 in github.com/crewAIInc/crewAI

↓ 2 callersMethodget_issuer
(self)
lib/crewai-core/src/crewai_core/auth/providers/workos.py:20
↓ 2 callersMethodget_jwks_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/entra_id.py:19
↓ 2 callersMethodget_jwks_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/auth0.py:17
↓ 2 callersMethodget_jwks_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/keycloak.py:17
↓ 2 callersMethodget_jwks_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/workos.py:17
↓ 2 callersFunctionget_knowledge_config
Get knowledge configuration from agent. Args: agent: The agent instance. Returns: Dictionary of knowledge configuration.
lib/crewai/src/crewai/agent/utils.py:113
↓ 2 callersFunctionget_project_description
Return the project description from ``pyproject.toml``.
lib/crewai-core/src/crewai_core/project.py:290
↓ 2 callersFunctionget_rag_config
Get current RAG configuration. Returns: The current RAG configuration object.
lib/crewai/src/crewai/rag/config/utils.py:87
↓ 2 callersMethodget_record
Return a single record by ID, or None if not found.
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:385
↓ 2 callersFunctionget_scoped_hooks
Return the hooks registered in the current execution scope for a point. Used by seams that carry a pre-snapshotted hook list (e.g. the agent
lib/crewai/src/crewai/hooks/dispatch.py:187
↓ 2 callersFunctionget_task_files
Retrieve files for a task execution. Args: task_id: Unique identifier for the task. Returns: Dictionary of files or None if
lib/crewai/src/crewai/utilities/file_store.py:229
↓ 2 callersMethodget_token_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/entra_id.py:16
↓ 2 callersMethodget_token_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/auth0.py:14
↓ 2 callersMethodget_token_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/keycloak.py:14
↓ 2 callersMethodget_token_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/workos.py:14
↓ 2 callersMethodget_trace
Retrieve a trace by agent and task ID. Args: agent_id: The agent's identifier. task_id: The task's identifier.
lib/crewai/src/crewai/experimental/evaluation/evaluation_listener.py:331
↓ 2 callersMethodget_tracer
(self, name: str | None = None)
lib/crewai/tests/telemetry/test_span_attribute_bound.py:69
↓ 2 callersFunctionget_upload_cache
Get or create the default upload cache. Args: ttl: Default TTL in seconds. namespace: Cache namespace. cache_type: Backen
lib/crewai-files/src/crewai_files/cache/upload_cache.py:504
↓ 2 callersFunctionget_user_id
Stable, anonymized user identifier with caching.
lib/crewai/src/crewai/events/listeners/tracing/utils.py:415
↓ 2 callersMethodgroupByIdenticalAction
(triggerIds)
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:1510
↓ 2 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:889
↓ 2 callersMethodhandle_async_request
Handle async request with interception. Args: request: The HTTP request to handle. Returns: The HTTP respons
lib/crewai/src/crewai/llms/hooks/transport.py:112
↓ 2 callersMethodhandle_crew_status
Handle crew completion/failure with panel display.
lib/crewai/src/crewai/events/utils/console_formatter.py:228
↓ 2 callersFunctionhandle_empty_pop
Handle a pop attempt on an empty stack.
lib/crewai/src/crewai/events/event_context.py:194
↓ 2 callersFunctionhandle_knowledge_retrieval
Handle knowledge retrieval for task execution. This function handles both agent-specific and crew-specific knowledge queries. Args:
lib/crewai/src/crewai/agent/utils.py:125
↓ 2 callersFunctionhandle_mismatch
Handle a mismatched event pair.
lib/crewai/src/crewai/events/event_context.py:208
↓ 2 callersFunctionhandle_output_parser_exception
Handle OutputParserError by updating messages and formatted_answer. Args: e: The OutputParserError that occurred messages: List o
lib/crewai/src/crewai/utilities/agent_utils.py:960
↓ 2 callersMethodhandle_request
Handle request with interception. Args: request: The HTTP request to handle. Returns: The HTTP response.
lib/crewai/src/crewai/llms/hooks/transport.py:76
↓ 2 callersMethodhandle_step_observed_low
Low reasoning effort: mark step complete and continue linearly. Skips the refine/goal-achieved pipeline but still gates on hard failu
lib/crewai/src/crewai/agents/agent_executor.py:943
↓ 2 callersMethodhandle_task_status
Show task completion/failure panel.
lib/crewai/src/crewai/events/utils/console_formatter.py:305
↓ 2 callersMethodhandle_tool_failure_detected
Render a tool that ran but reported it did not succeed. The case that used to print as a green "Completed" panel.
lib/crewai/src/crewai/events/utils/console_formatter.py:512
↓ 2 callersMethodhandler
(signum: int, frame: Any)
lib/crewai/src/crewai/telemetry/telemetry.py:199
↓ 2 callersFunctionhas_reached_max_iterations
Check if the maximum number of iterations has been reached. Args: iterations: Current number of iterations. max_iterations: Maxim
lib/crewai/src/crewai/utilities/agent_utils.py:375
↓ 2 callersMethodhas_reached_max_usage_count
Check if the tool has reached its maximum usage count.
lib/crewai/src/crewai/tools/structured_tool.py:449
↓ 2 callersMethodhas_reasoning
Check if there are reasoning summaries.
lib/crewai/src/crewai/llms/providers/openai/completion.py:337
↓ 2 callersMethodhas_uncommitted_changes
Check if the repository has uncommitted changes.
lib/cli/src/crewai_cli/git.py:106
↓ 2 callersMethodheuristic_observation
Build an observation without an LLM call. Used when ``PlanningConfig.observe_steps`` is False or when ``reasoning_effort`` is ``"low"
lib/crewai/src/crewai/agents/planner_observer.py:88
↓ 2 callersMethodhmac_sha256
Create an HMAC-SHA256 signature configuration. Args: secret: Shared secret for HMAC computation. timestamp_tolerance_
lib/crewai/src/crewai/a2a/updates/push_notifications/signature.py:76
↓ 2 callersMethodhuman_feedback_span
Records human feedback feature usage. Args: event_type: Type of event - "requested" or "received". has_routing: Wheth
lib/crewai/src/crewai/telemetry/telemetry.py:1255
↓ 2 callersMethodinit
(self)
lib/crewai/tests/test_flow.py:993
↓ 2 callersMethodinitialize
Initialize a Git repository and create an initial commit if needed.
lib/cli/src/crewai_cli/git.py:74
↓ 2 callersMethodinitialize_file
Initialize the file with an empty dictionary and overwrite any existing data.
lib/crewai/src/crewai/utilities/file_handler.py:140
↓ 2 callersMethodinject_all_tools
Inject tools from all registered extensions. Args: agent: The agent instance to inject tools into.
lib/crewai/src/crewai/a2a/extensions/base.py:186
↓ 2 callersMethodinstall_persistence
Install an instance-supplied backend so later ``@persist`` saves use it.
lib/crewai/src/crewai/flow/runtime/__init__.py:906
↓ 2 callersMethodinvalidate
Remove a cached skill. Returns: True if the cache entry existed and was removed, False otherwise.
lib/crewai/src/crewai/skills/cache.py:152
↓ 2 callersFunctioninvoke
(llm: BaseLLM, mode: str)
lib/crewai/tests/llms/test_missing_api_key.py:130
↓ 2 callersMethodinvoke
Main method for tool execution.
lib/crewai/src/crewai/tools/structured_tool.py:423
↓ 2 callersMethodis_ahead_or_behind
Check if the repository is ahead or behind the remote.
lib/cli/src/crewai_cli/git.py:110
↓ 2 callersFunctionis_first_execution
True until the trace question was put to a person on this machine. A run where nobody could be asked records nothing, so it does not end the
lib/crewai/src/crewai/events/listeners/tracing/utils.py:437
↓ 2 callersFunctionis_native_tool_calling_unsupported_error
Return whether an error means native tool calling is unavailable.
lib/crewai/src/crewai/utilities/agent_utils.py:1435
↓ 2 callersMethodis_tool_result_overflowing_threshold
(self, tool_result)
lib/crewai/tests/agents/test_agent_state.py:202
↓ 2 callersFunctionis_tracing_enabled
Return True if tracing should currently be active. Mirrors the runtime gate (``crewai.events.listeners.tracing.utils. should_enable_tracing``
lib/crewai-core/src/crewai_core/user_data.py:106
↓ 2 callersMethodisatty
(self)
lib/crewai/tests/telemetry/test_coding_agent_detection.py:367
↓ 2 callersMethoditer_bytes
(self)
lib/crewai-files/tests/spreadsheets/test_loading.py:183
↓ 2 callersMethoditer_content
( chunk_size: int = 1, decode_unicode: bool = False )
lib/crewai-tools/tests/utilities/test_safe_requests.py:727
↓ 2 callersMethoditer_error_chain
Yield an exception and its explicit or implicit causes once each.
lib/crewai/src/crewai/llms/retry.py:70
↓ 2 callersMethodjson
Get the JSON string representation of the task output. Returns: JSON string representation of the task output, or None when the
lib/crewai/src/crewai/tasks/task_output.py:80
↓ 2 callersMethodkickoff
(self, *args: Any, **kwargs: Any)
lib/crewai/src/crewai/flow/conversational_mixin.py:305
↓ 2 callersMethodkickoff
Start the flow execution in a synchronous context. This method wraps kickoff_async so that all state initialization and event emissio
lib/crewai/src/crewai/flow/runtime/__init__.py:2145
↓ 2 callersFunctionkickoff_output
()
lib/crewai/tests/a2a/test_wrapper_withheld_tools.py:20
↓ 2 callersFunctionlast_run_path
(directory: Path | None = None)
lib/crewai/src/crewai/telemetry/tracing/last_run.py:56
↓ 2 callersMethodlist_files
List all uploaded files. Returns: List of dictionaries with file information.
lib/crewai-files/src/crewai_files/uploaders/base.py:112
↓ 2 callersMethodlist_records
List records in a scope, newest first. Args: scope_prefix: Optional scope path prefix to filter by. limit: Maximum nu
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:530
↓ 2 callersFunctionload_declarative_flow
Load a declarative Flow instance from a definition path.
lib/cli/src/crewai_cli/run_declarative_flow.py:518
↓ 2 callersFunctionload_json_crew_project
Load and structurally validate a JSON crew project from files. When ``collect_errors`` is true, all discoverable structural errors are return
lib/crewai/src/crewai/project/json_loader.py:341
↓ 2 callersMethodload_pending_feedback
Load state and pending feedback context. This method is called when resuming a paused flow. Override to load both the state and the p
lib/crewai/src/crewai/flow/persistence/base.py:90
↓ 2 callersFunctionload_spreadsheet
Read ``file`` as a workbook, reusing the result for the same content. A URL is streamed and stopped at ``max_bytes``, so a large file is never he
lib/crewai-files/src/crewai_files/spreadsheets/__init__.py:97
↓ 2 callersMethodlog
Log data with structured fields. Keyword Args: task_name: Name of the task. task: Description of the task.
lib/crewai/src/crewai/utilities/file_handler.py:65
↓ 2 callersFunctionlog_flow_definition_issues
(definition: FlowDefinition)
lib/crewai/src/crewai/flow/flow_definition.py:1012
↓ 2 callersFunctionlogged_in_to_trusted_amp
Is this machine logged in (a saved `crewai login` that has not expired) to the AMP the run traces to, one TRUSTED with that login? Read on th
lib/cli/src/crewai_cli/experimental/eval_crew.py:1082
↓ 2 callersMethodlogin
Sign in to CrewAI AMP, saying why first when SOURCE has a reason. Counts the login's start and how it ended (`cli_usage:login_*`), so the
lib/cli/src/crewai_cli/authentication/main.py:48
↓ 2 callersMethodmark_events_collected
Mark that events have been collected during execution.
lib/crewai/src/crewai/events/listeners/tracing/first_time_trace_handler.py:44
↓ 2 callersFunctionmark_mapped
Record ``llm`` as built by the overlay, so no model key maps it again. ``declared`` is what the caller declared before the overlay mapped it —
lib/crewai/src/crewai/llm_overlay.py:282
↓ 2 callersFunctionmarkdown_heading_anchor
(text: str)
lib/crewai/src/crewai/flow/skill.py:565
↓ 2 callersFunctionmax_attr_bytes
The byte bound :func:`truncate_attr` applies when given none. See :data:`DEFAULT_MAX_ATTR_BYTES`. The SDK's limit counts characters and a cha
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:450
↓ 2 callersFunctionmay_create_placeholder
A coding agent, or a person at a terminal. Never CI: nobody there would see the claim link, and the account would be deleted unclaimed. Never into
lib/crewai-core/src/crewai_core/auth/placeholder.py:114
↓ 2 callersFunctionmeasure_operation
Context manager to measure and log operation performance. Args: operation: Name of the operation. filename: Optional filename bei
lib/crewai-files/src/crewai_files/cache/metrics.py:71
↓ 2 callersFunctionmodel_call_hooks_already_dispatched
Whether an enclosing caller already dispatched hooks for the current call.
lib/crewai/src/crewai/hooks/llm_hooks.py:202
↓ 2 callersMethodmodel_is_skipped
(self, model_name: str)
lib/crewai/src/crewai/flow/skill.py:418
↓ 2 callersFunctionno_data_message
(llm)
lib/crewai/tests/agents/test_agent_state.py:103
↓ 2 callersMethodon_inbound
Track inbound calls. Args: message: The inbound response. Returns: The response unchanged.
lib/crewai/tests/llms/hooks/test_base_interceptor.py:29
↓ 2 callersMethodon_outbound
Track outbound calls. Args: message: The outbound request. Returns: The request unchanged.
lib/crewai/tests/llms/hooks/test_base_interceptor.py:17
↓ 2 callersMethodon_outbound
Add custom header to outbound request. Args: message: The outbound request. Returns: Modified request with c
lib/crewai/tests/llms/hooks/test_base_interceptor.py:45
↓ 2 callersMethodon_tool_error
( self, tool: Any, tool_calling: ToolCalling | InstructorToolCalling, e: Excep
lib/crewai/src/crewai/tools/tool_usage.py:1005
↓ 2 callersMethodon_tool_use
Run when tool ends running. Args: calling: The tool calling instance. output: The raw output from the tool execution.
lib/crewai/src/crewai/agents/tools_handler.py:26
↓ 2 callersFunctionoutputs_by_name
( method_outputs: list[_MethodOutput], *, local_outputs: Mapping[str, Any] | None = None, seri
lib/crewai/src/crewai/flow/runtime/_outputs.py:19
↓ 2 callersFunctionoverlay_llm_for
The llm an agent with ``role`` and ``declared`` llm runs on under ``llm_overlay``. A role key wins, and its model is built from the caller's decl
lib/crewai/src/crewai/utilities/llm_utils.py:239
↓ 2 callersFunctionoverlay_model_for_model
The model the active overlay's model keys assign to an LLM on ``model``. ``model`` is compared as written and, when a native provider strips its
lib/crewai/src/crewai/llm_overlay.py:172
↓ 2 callersFunctionoverview
Each sheet's size, header row and leading columns with their types, fill and common values or ranges, within ``max_chars``.
lib/crewai-files/src/crewai_files/spreadsheets/answers.py:200
↓ 2 callersMethodparallel_find_similar
Search storage for similar records, concurrently for all active items.
lib/crewai/src/crewai/memory/encoding_flow.py:155
↓ 2 callersFunctionparse
Parse agent output text into AgentAction or AgentFinish. Expects output to be in one of two formats. If the output signals that an action sh
lib/crewai/src/crewai/agents/parser.py:62
↓ 2 callersMethodparse_tool_calling
Parse the tool string and return the tool calling.
lib/crewai/src/crewai/tools/tool_usage.py:137
↓ 2 callersFunctionpersist
Decorator to persist flow state. This decorator can be applied at either the class level or method level. When applied at the class level, it
lib/crewai/src/crewai/flow/persistence/decorators.py:147
↓ 2 callersFunctionplaceholder_client
A client for BASE_URL that carries the temporary account.
lib/cli/src/crewai_cli/authentication/placeholder.py:55
↓ 2 callersFunctionplaceholder_for
The temporary account to use with BASE_URL's AMP: the saved one, else a new one when this caller may have one. None means "log in first": the call
lib/cli/src/crewai_cli/authentication/placeholder.py:40
↓ 2 callersFunctionplot_declarative_flow_in_project_env
Plot a declarative flow inside the project's Python environment.
lib/cli/src/crewai_cli/run_declarative_flow.py:47
↓ 2 callersMethodpost_process_result
Post-process the result to ensure proper string format. Extracts valid JSON from text that may contain markdown or other formatting.
lib/crewai/src/crewai/agents/agent_adapters/base_converter_adapter.py:70
↓ 2 callersMethodprepare_all_metadata
Collect metadata from all registered extensions for outbound messages. Args: extension_states: Mapping of extension types to conv
lib/crewai/src/crewai/a2a/extensions/base.py:253
↓ 2 callersFunctionprepare_task_execution
Prepare a task for execution, handling replay skip logic and agent/tool setup. Args: crew: The crew instance. task: The task to p
lib/crewai/src/crewai/crews/utils.py:118
↓ 2 callersFunctionpresigned
An AMP upload URL as S3 presigns it: a random key in the path, and the file named only in the query, next to its signature.
lib/crewai/tests/agents/test_agent_spreadsheets.py:37
← previousnext →3,101–3,200 of 20,757, ranked by callers