MCPcopy Create free account

hub / github.com/coleam00/context-engineering-intro / functions

Functions691 in github.com/coleam00/context-engineering-intro

Method__post_init__
Calculate token count if not provided.
use-cases/agent-factory-with-subagents/agents/rag_agent/ingestion/chunker.py:62
Function_encodeState
* Encodes arbitrary data to a URL-safe base64 string. * @param data - The data to encode (will be stringified). * @returns A URL-safe base64 encoded
use-cases/mcp-server/src/auth/oauth-utils.ts:22
Methodabort
(reason?: string)
use-cases/mcp-server/worker-configuration.d.ts:452
Methodabort
()
use-cases/mcp-server/worker-configuration.d.ts:1566
Methodaccept
()
use-cases/mcp-server/worker-configuration.d.ts:2339
MethodacceptWebSocket
(ws: WebSocket, tags?: string[])
use-cases/mcp-server/worker-configuration.d.ts:444
Methodack
()
use-cases/mcp-server/worker-configuration.d.ts:1518
MethodackAll
()
use-cases/mcp-server/worker-configuration.d.ts:1524
MethodackAll
()
use-cases/mcp-server/worker-configuration.d.ts:1530
Methodafter
(content: string | ReadableStream | Response, options?: ContentOptions)
use-cases/mcp-server/worker-configuration.d.ts:1185
Methodafter
(content: string | ReadableStream | Response, options?: ContentOptions)
use-cases/mcp-server/worker-configuration.d.ts:1197
Methodafter
(content: string, options?: ContentOptions)
use-cases/mcp-server/worker-configuration.d.ts:1204
Methodafter
(content: string | ReadableStream | Response, options?: ContentOptions)
use-cases/mcp-server/worker-configuration.d.ts:1213
Methodalarm
(alarmInfo?: AlarmInvocationInfo)
use-cases/mcp-server/worker-configuration.d.ts:409
Methodalarm
* Durable Objects alarm handler - used for cleanup
use-cases/mcp-server/src/index.ts:30
Methodalarm
* Durable Objects alarm handler - used for cleanup
use-cases/mcp-server/src/index_sentry.ts:42
Functionanalyze_data_sync
Synchronous version of analyze_data. Args: data_input: Raw data or description to analyze dependencies: Optional analysi
use-cases/pydantic-ai/examples/structured_output_agent/agent.py:217
Functionanalyze_data_sync
Synchronous version of analyze_data. Args: data_input: Raw data or description to analyze dependencies: Optional analysi
use-cases/agent-factory-with-subagents/examples/structured_output_agent/agent.py:217
Functionanalyze_numerical_data
Analyze numerical data and provide statistical insights. Args: data_description: Description of what the numbers represent
use-cases/pydantic-ai/examples/structured_output_agent/agent.py:142
Functionanalyze_numerical_data
Analyze numerical data and provide statistical insights. Args: data_description: Description of what the numbers represent
use-cases/agent-factory-with-subagents/examples/structured_output_agent/agent.py:142
Methodappend
(content: string, options?: ContentOptions)
use-cases/mcp-server/worker-configuration.d.ts:1218
MethodarrayBuffer
()
use-cases/mcp-server/worker-configuration.d.ts:1591
Functionask_agent_sync
Synchronous version of ask_agent. Args: question: Question or request for the agent Returns: String response fr
use-cases/pydantic-ai/examples/tool_enabled_agent/agent.py:330
Functionask_agent_sync
Synchronous version of ask_agent. Args: question: Question or request for the agent Returns: String response fr
use-cases/agent-factory-with-subagents/examples/tool_enabled_agent/agent.py:330
Functionassert_hybrid_result_valid
Assert that a hybrid search result dictionary is valid.
use-cases/agent-factory-with-subagents/agents/rag_agent/tests/conftest.py:239
Functionassert_search_result_valid
Assert that a SearchResult object is valid.
use-cases/agent-factory-with-subagents/agents/rag_agent/tests/conftest.py:227
Methodatob
(data: string)
use-cases/mcp-server/worker-configuration.d.ts:215
Methodbefore
(content: string | ReadableStream | Response, options?: ContentOptions)
use-cases/mcp-server/worker-configuration.d.ts:1184
Methodbefore
(content: string | ReadableStream | Response, options?: ContentOptions)
use-cases/mcp-server/worker-configuration.d.ts:1196
Methodbefore
(content: string, options?: ContentOptions)
use-cases/mcp-server/worker-configuration.d.ts:1203
Methodbefore
(content: string | ReadableStream | Response, options?: ContentOptions)
use-cases/mcp-server/worker-configuration.d.ts:1212
Methodblob
()
use-cases/mcp-server/worker-configuration.d.ts:1595
MethodblockConcurrencyWhile
(callback: () => Promise<T>)
use-cases/mcp-server/worker-configuration.d.ts:443
Methodbody
()
use-cases/mcp-server/worker-configuration.d.ts:1589
MethodbodyUsed
()
use-cases/mcp-server/worker-configuration.d.ts:1590
Methodbtoa
(data: string)
use-cases/mcp-server/worker-configuration.d.ts:214
Methodbytes
()
use-cases/mcp-server/worker-configuration.d.ts:1592
Functioncached_generate
(text: str)
use-cases/agent-factory-with-subagents/examples/rag_pipeline/ingestion/embedder.py:360
Functioncached_generate
(text: str)
use-cases/agent-factory-with-subagents/agents/rag_agent/ingestion/embedder.py:360
Functioncalculate
Perform mathematical calculations safely. Args: expression: Mathematical expression to evaluate description: Optional de
use-cases/pydantic-ai/examples/tool_enabled_agent/agent.py:187
Functioncalculate
Perform mathematical calculations safely. Args: expression: Mathematical expression to evaluate description: Optional de
use-cases/agent-factory-with-subagents/examples/tool_enabled_agent/agent.py:187
Methodcancel
(reason?: any)
use-cases/mcp-server/worker-configuration.d.ts:1754
Functionchat_with_agent_sync
Synchronous version of chat_with_agent for simple use cases. Args: message: User's message to the agent context: Optiona
use-cases/pydantic-ai/examples/basic_chat_agent/agent.py:137
Functionchat_with_agent_sync
Synchronous version of chat_with_agent for simple use cases. Args: message: User's message to the agent context: Optiona
use-cases/agent-factory-with-subagents/examples/basic_chat_agent/agent.py:137
Methodchunk_document
Chunk a document into semantically coherent pieces. Args: content: Document content title: Document
use-cases/agent-factory-with-subagents/examples/rag_pipeline/ingestion/chunker.py:83
Methodchunk_document
Chunk a document into semantically coherent pieces. Args: content: Document content title: Document
use-cases/agent-factory-with-subagents/agents/rag_agent/ingestion/chunker.py:83
MethodclearInterval
(timeoutId: number | null)
use-cases/mcp-server/worker-configuration.d.ts:221
MethodclearTimeout
(timeoutId: number | null)
use-cases/mcp-server/worker-configuration.d.ts:218
Methodclone
()
use-cases/mcp-server/worker-configuration.d.ts:1306
Methodclone
()
use-cases/mcp-server/worker-configuration.d.ts:1349
Methodclose
Close connection pool.
use-cases/agent-factory-with-subagents/examples/rag_pipeline/utils/db_utils.py:52
Methodclose
Close connection pool.
use-cases/agent-factory-with-subagents/agents/rag_agent/utils/db_utils.py:52
Methodclose
* Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close r
use-cases/mcp-server/worker-configuration.d.ts:2351
Methodclosed
()
use-cases/mcp-server/worker-configuration.d.ts:2413
Methodcomments
(comment: Comment)
use-cases/mcp-server/worker-configuration.d.ts:1161
Methodcomments
(comment: Comment)
use-cases/mcp-server/worker-configuration.d.ts:1166
Methodcomplete
(uploadedParts: R2UploadedPart[])
use-cases/mcp-server/worker-configuration.d.ts:1567
Methodcomprehensive_workflow
(messages, tools)
use-cases/agent-factory-with-subagents/agents/rag_agent/tests/test_requirements.py:860
Methodconnect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an idential socket to if
use-cases/mcp-server/worker-configuration.d.ts:6370
MethodcontentType
* The content type of the returned image
use-cases/mcp-server/worker-configuration.d.ts:6513
Methodcount
(label?: string)
use-cases/mcp-server/worker-configuration.d.ts:100
MethodcountReset
(label?: string)
use-cases/mcp-server/worker-configuration.d.ts:102
Functioncreate_email_draft
Create an email draft based on research context using the Email Agent. Args: recipient_email: Email address of the recipient
use-cases/pydantic-ai/examples/main_agent_reference/research_agent.py:94
Functioncreate_email_draft
Create an email draft based on research context using the Email Agent. Args: recipient_email: Email address of the recipient
use-cases/agent-factory-with-subagents/examples/main_agent_reference/research_agent.py:94
Functioncreate_mock_agent_response
Create a mock agent response for testing.
use-cases/agent-factory-with-subagents/agents/rag_agent/tests/conftest.py:256
Functioncreate_research_agent
Create a research agent with specified dependencies. Args: brave_api_key: Brave Search API key gmail_credentials_path: P
use-cases/pydantic-ai/examples/main_agent_reference/research_agent.py:245
Functioncreate_research_agent
Create a research agent with specified dependencies. Args: brave_api_key: Brave Search API key gmail_credentials_path: P
use-cases/agent-factory-with-subagents/examples/main_agent_reference/research_agent.py:245
Methodcustom_response_func
Custom function to generate specific responses.
use-cases/pydantic-ai/examples/testing_examples/test_agent_patterns.py:215
Methodcustom_response_func
Custom function to generate specific responses.
use-cases/agent-factory-with-subagents/examples/testing_examples/test_agent_patterns.py:215
MethoddatabaseSize
()
use-cases/mcp-server/worker-configuration.d.ts:2387
Methoddebug
(...data: any[])
use-cases/mcp-server/worker-configuration.d.ts:104
Methoddelete
(key: string, options?: DurableObjectPutOptions)
use-cases/mcp-server/worker-configuration.d.ts:460
Methoddelete
(key: string, options?: DurableObjectPutOptions)
use-cases/mcp-server/worker-configuration.d.ts:473
Methoddelete
(key: Key)
use-cases/mcp-server/worker-configuration.d.ts:1471
MethoddeleteAlarm
(options?: DurableObjectSetAlarmOptions)
use-cases/mcp-server/worker-configuration.d.ts:465
MethoddeleteAlarm
(options?: DurableObjectSetAlarmOptions)
use-cases/mcp-server/worker-configuration.d.ts:479
MethoddeleteAll
(options?: DurableObjectPutOptions)
use-cases/mcp-server/worker-configuration.d.ts:475
MethoddeserializeAttachment
()
use-cases/mcp-server/worker-configuration.d.ts:2353
Methoddestroy
(error?: any)
use-cases/mcp-server/worker-configuration.d.ts:2488
Methoddir
(item?: any, options?: any)
use-cases/mcp-server/worker-configuration.d.ts:106
Methoddirxml
(...data: any[])
use-cases/mcp-server/worker-configuration.d.ts:108
Methoddoctype
(doctype: Doctype)
use-cases/mcp-server/worker-configuration.d.ts:1165
Methoddraw
* Draw an image on this transformer, returning a transform handle. * You can then apply more transformations, draw, or retrieve the output.
use-cases/mcp-server/worker-configuration.d.ts:6497
Methoddup
()
use-cases/mcp-server/worker-configuration.d.ts:6685
Functiondynamic_context_prompt
Dynamic system prompt that includes conversation context.
use-cases/pydantic-ai/examples/basic_chat_agent/agent.py:98
Functiondynamic_context_prompt
Dynamic system prompt that includes conversation context.
use-cases/agent-factory-with-subagents/examples/basic_chat_agent/agent.py:98
Methodelement
(element: Element)
use-cases/mcp-server/worker-configuration.d.ts:1160
Methodequals
(other: DurableObjectId)
use-cases/mcp-server/worker-configuration.d.ts:420
Methoderror_recovery_workflow
(messages, tools)
use-cases/agent-factory-with-subagents/agents/rag_agent/tests/test_integration.py:205
Functionevent_loop
Create an instance of the default event loop for the test session.
use-cases/pydantic-ai/examples/testing_examples/test_agent_patterns.py:380
Functionevent_loop
Create an instance of the default event loop for the test session.
use-cases/agent-factory-with-subagents/examples/testing_examples/test_agent_patterns.py:380
Functionevent_loop
Create an instance of the default event loop for the test session.
use-cases/agent-factory-with-subagents/agents/rag_agent/tests/conftest.py:219
Methodexec
(query: string, ...bindings: any[])
use-cases/mcp-server/worker-configuration.d.ts:2386
Functionexecute_query
Execute a custom query. Args: query: SQL query *params: Query parameters Returns: Query results
use-cases/agent-factory-with-subagents/examples/rag_pipeline/utils/db_utils.py:188
Functionexecute_query
Execute a custom query. Args: query: SQL query *params: Query parameters Returns: Query results
use-cases/agent-factory-with-subagents/agents/rag_agent/utils/db_utils.py:188
Methodfailing_dependencies
Create dependencies that will fail for testing error handling.
use-cases/pydantic-ai/examples/testing_examples/test_agent_patterns.py:347
Methodfailing_dependencies
Create dependencies that will fail for testing error handling.
use-cases/agent-factory-with-subagents/examples/testing_examples/test_agent_patterns.py:347
Methodfetch
(input: RequestInfo | URL, init?: RequestInit<RequestInitCfProperties>)
use-cases/mcp-server/worker-configuration.d.ts:225
Functionformat_data
Format data into structured output. Args: data: Raw data to format format_type: Type of formatting (table, list, json)
use-cases/pydantic-ai/examples/tool_enabled_agent/agent.py:233
Functionformat_data
Format data into structured output. Args: data: Raw data to format format_type: Type of formatting (table, list, json)
use-cases/agent-factory-with-subagents/examples/tool_enabled_agent/agent.py:233
← previousnext →201–300 of 691, ranked by callers